From 146cf2f444c271cb2d4be9efa04053f4d66d16e6 Mon Sep 17 00:00:00 2001 From: Espartaco Palma Date: Sat, 13 Oct 2018 22:36:57 -0700 Subject: Removing duplicated assertions on test_array.rb - MINUS method Closes: https://github.com/ruby/ruby/pull/1790 --- test/ruby/test_array.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/ruby/test_array.rb') diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index c6aff553ff..05f48abc8e 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -265,10 +265,6 @@ class TestArray < Test::Unit::TestCase assert_equal(@cls[], @cls[1] - @cls[1]) assert_equal(@cls[1], @cls[1, 2, 3, 4, 5] - @cls[2, 3, 4, 5]) assert_equal(@cls[1, 1, 1, 1], @cls[1, 2, 1, 3, 1, 4, 1, 5] - @cls[2, 3, 4, 5]) - a = @cls[] - 1000.times { a << 1 } - assert_equal(1000, a.length) - assert_equal(@cls[1] * 1000, a - @cls[2]) assert_equal(@cls[1, 1], @cls[1, 2, 1] - @cls[2]) assert_equal(@cls[1, 2, 3], @cls[1, 2, 3] - @cls[4, 5, 6]) end -- cgit v1.2.3