summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-03-20 23:56:57 -0700
committergit <svn-admin@ruby-lang.org>2021-03-21 15:57:10 +0900
commit450d1f2c5c476bfd38fe01a2a616a99cd1312caf (patch)
treeb5be4940616c09426b7781d470fb88abd3382eb7 /test
parent75b38f18940764f048ded4a3938407566152cbee (diff)
[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
Diffstat (limited to 'test')
-rw-r--r--test/irb/test_cmd.rb2
1 files changed, 1 insertions, 1 deletions
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