diff options
author | Espartaco Palma <esparta@gmail.com> | 2018-10-13 22:36:57 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-06 09:01:05 +0900 |
commit | 146cf2f444c271cb2d4be9efa04053f4d66d16e6 (patch) | |
tree | 2f1de87eac02d56898747f69d341329d710dc8e6 /test/ruby | |
parent | 4f1a00a746b8c47dd32f06b249aad8c4d27cb934 (diff) | |
download | ruby-146cf2f444c271cb2d4be9efa04053f4d66d16e6.tar.gz |
Removing duplicated assertions on test_array.rb - MINUS method
Closes: https://github.com/ruby/ruby/pull/1790
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_array.rb | 4 |
1 files changed, 0 insertions, 4 deletions
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 |