Skip to content

Commit ced671e

Browse files
committed
test: don't use assert_true/assert_false
GitHub: GH-102 They aren't available in ruby/ruby.
1 parent 2530496 commit ced671e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/fiddle/test_closure.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def call(string)
8383

8484
def test_free
8585
Closure.create(:int, [:void]) do |closure|
86-
assert_false(closure.freed?)
86+
assert(!closure.freed?)
8787
closure.free
88-
assert_true(closure.freed?)
88+
assert(closure.freed?)
8989
closure.free
9090
end
9191
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy