diff --git a/test/fiddle/test_closure.rb b/test/fiddle/test_closure.rb index 900bf49bd7..825ea9651d 100644 --- a/test/fiddle/test_closure.rb +++ b/test/fiddle/test_closure.rb @@ -83,9 +83,9 @@ module Fiddle def test_free Closure.create(:int, [:void]) do |closure| - assert_false(closure.freed?) + assert(!closure.freed?) closure.free - assert_true(closure.freed?) + assert(closure.freed?) closure.free end end