Skip to content

Commit b2e940a

Browse files
committed
Simplified assertion
1 parent cc3f149 commit b2e940a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/ruby/test_allocation.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ def self.num_allocations
6666
6767
#{checks}
6868
69-
unless failures.empty?
70-
assert_equal(true, false, failures.join("\n"))
71-
end
69+
assert_empty(failures)
7270
RUBY
7371
end
7472

0 commit comments

Comments
 (0)