Skip to content

Commit 0ae28b9

Browse files
committed
Adjust leak test to do as much work in prepare
* The test failed on native otherwise.
1 parent 20a8730 commit 0ae28b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mri/tests/ruby/test_rational.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def test_gcd_no_memory_leak
992992
assert_no_memory_leak([], "#{<<-"begin;"}", "#{<<-"end;"}", limit: 1.2, rss: true)
993993
x = (1<<121) + 1
994994
y = (1<<99) + 1
995-
1000.times{x.gcd(y)}
995+
100.times {1000.times{x.gcd(y)}}
996996
begin;
997997
100.times {1000.times{x.gcd(y)}}
998998
end;

0 commit comments

Comments
 (0)