diff options
-rw-r--r-- | test/ruby/test_array.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 4c7c3dfb6d..5e3cf63141 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1,6 +1,13 @@ require 'test/unit' class TestArray < Test::Unit::TestCase + def setup + @verbose, $VERBOSE = $VERBOSE, nil + end + def teardown + $VERBOSE = @verbose + end + def test_0_literal assert_equal([1, 2, 3, 4], [1, 2] + [3, 4]) assert_equal([1, 2, 1, 2], [1, 2] * 2) |