test/test_gyro.rb in polyphony-0.27 vs test/test_gyro.rb in polyphony-0.28
- old
+ new
@@ -6,16 +6,16 @@
def test_fiber_state
assert_equal :running, Fiber.current.state
f = Fiber.new {}
- assert_equal :suspended, f.state
+ assert_equal :waiting, f.state
f.resume
assert_equal :dead, f.state
f = Fiber.new { }
f.schedule
- assert_equal :scheduled, f.state
+ assert_equal :runnable, f.state
snooze
assert_equal :dead, f.state
end
def test_schedule