sleepy_penguin.git about / heads / tags Linux I/O events for Ruby
blob 4e0c90bca846edbbc65ad022aed63632241d316a 388 bytes (raw) $ git show v3.4.1:test/test_constants.rb # shows this blob on the CLI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require './test/helper' $-w = true Thread.abort_on_exception = true require 'sleepy_penguin/sp' class TestConstants < Testcase def test_constants assert_equal SleepyPenguin::SLEEPY_PENGUIN_VERSION, SP::SLEEPY_PENGUIN_VERSION v = SP::SLEEPY_PENGUIN_VERSION.split('.') (0..2).each do |i| assert_equal v[i], v[i].to_i.to_s, v.inspect end end end
git clone https://yhbt.net/sleepy_penguin.git