diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 778b3f863b..5940d2be0c 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -389,7 +389,7 @@ module TestIRB irb.eval_input end assert_empty err - assert_match(/^instance variables: @a\n/, out) + assert_match(/^instance variables:\s+@a\n/m, out) end def test_whereami