Skip to content

Commit

Permalink
test: don't use power-assert
Browse files Browse the repository at this point in the history
It seems that we can't use it in ruby/ruby.
  • Loading branch information
kou committed Sep 14, 2022
1 parent f6431f3 commit e122129
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/fiddle/test_closure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,9 @@ def call(string)

def test_free
Closure.create(:int, [:void]) do |closure|
assert do
not closure.freed?
end
assert_false(closure.freed?)
closure.free
assert do
closure.freed?
end
assert_true(closure.freed?)
closure.free
end
end
Expand Down

0 comments on commit e122129

Please sign in to comment.