From 450d1f2c5c476bfd38fe01a2a616a99cd1312caf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 20 Mar 2021 23:56:57 -0700 Subject: [PATCH] [ruby/irb] Deal with different screen sizes e.g. http://rubyci.s3.amazonaws.com/centos8/ruby-master/log/20210321T063003Z.fail.html.gz https://github.com/ruby/irb/commit/ddb3472ba2 --- test/irb/test_cmd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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