diff options
author | Takashi Kokubun <[email protected]> | 2021-03-20 23:56:57 -0700 |
---|---|---|
committer | git <[email protected]> | 2021-03-21 15:57:10 +0900 |
commit | 450d1f2c5c476bfd38fe01a2a616a99cd1312caf (patch) | |
tree | b5be4940616c09426b7781d470fb88abd3382eb7 | |
parent | 75b38f18940764f048ded4a3938407566152cbee (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
-rw-r--r-- | test/irb/test_cmd.rb | 2 |
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 |