mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] test: don't use assert_true/assert_false
GitHub: GH-102 They aren't available in ruby/ruby. https://github.com/ruby/fiddle/commit/ced671e43b
This commit is contained in:
parent
ada9f8a9f7
commit
92f0c53934
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue