Uncomment test accidentally commented in 1656350
This commit is contained in:
parent
8800127d80
commit
fdba458e85
@ -1716,10 +1716,10 @@ class TestArray < Test::Unit::TestCase
|
|||||||
def test_slice_gc_compact_stress
|
def test_slice_gc_compact_stress
|
||||||
omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077
|
omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077
|
||||||
EnvUtil.under_gc_compact_stress { assert_equal([1, 2, 3, 4, 5], (0..10).to_a[1, 5]) }
|
EnvUtil.under_gc_compact_stress { assert_equal([1, 2, 3, 4, 5], (0..10).to_a[1, 5]) }
|
||||||
# EnvUtil.under_gc_compact_stress do
|
EnvUtil.under_gc_compact_stress do
|
||||||
# a = [0, 1, 2, 3, 4, 5]
|
a = [0, 1, 2, 3, 4, 5]
|
||||||
# assert_equal([2, 1, 0], a.slice((2..).step(-1)))
|
assert_equal([2, 1, 0], a.slice((2..).step(-1)))
|
||||||
# end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_slice!
|
def test_slice!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user