ruby-changes:65611
From: Takashi <ko1@a...>
Date: Sun, 21 Mar 2021 15:57:22 +0900 (JST)
Subject: [ruby-changes:65611] 450d1f2c5c (master): [ruby/irb] Deal with different screen sizes
https://git.ruby-lang.org/ruby.git/commit/?id=450d1f2c5c From 450d1f2c5c476bfd38fe01a2a616a99cd1312caf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Sat, 20 Mar 2021 23:56:57 -0700 Subject: [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 778b3f8..5940d2b 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -389,7 +389,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L389 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/