diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-06-26 19:06:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-06-26 19:06:46 +0900 |
commit | 3acf5a27c9ae5be7b24774f0098750db229dc9ac (patch) | |
tree | ba3afd682394aab2fd2920c2db17f1b5a41e10a3 /test/test_trick.rb | |
parent | dc940cc74050ec783882ad5914d8315011d89b8e (diff) |
Suppress warnings
Diffstat (limited to 'test/test_trick.rb')
-rw-r--r-- | test/test_trick.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_trick.rb b/test/test_trick.rb index f0e7eb23b7..ddedb6e527 100644 --- a/test/test_trick.rb +++ b/test/test_trick.rb @@ -222,19 +222,19 @@ class TestRubyKaigi2023🥢 < Test::Unit::TestCase 1 def test_chopsticks_0 - assert_in_out_err([], CHOPSTICKS[0], %w[Enjoy Ruby]) + assert_in_out_err(%w[-W0], CHOPSTICKS[0], %w[Enjoy Ruby]) end def test_chopsticks_1 - assert_in_out_err([], CHOPSTICKS[1], %w[/:|}]) + assert_in_out_err(%w[-W0], CHOPSTICKS[1], %w[/:|}]) end def test_chopsticks_0_1 - assert_in_out_err([], "#{CHOPSTICKS[0]}\n#{CHOPSTICKS[1]}", %w[RubyKaigi @Matsumoto]) + assert_in_out_err(%w[-W0], "#{CHOPSTICKS[0]}\n#{CHOPSTICKS[1]}", %w[RubyKaigi @Matsumoto]) end def test_chopsticks_1_0 - assert_in_out_err([], "#{CHOPSTICKS[1]}\n#{CHOPSTICKS[0]}", %w[RubyKaigi 2023]) + assert_in_out_err(%w[-W0], "#{CHOPSTICKS[1]}\n#{CHOPSTICKS[0]}", %w[RubyKaigi 2023]) end end |