ruby-changes:66102
From: Nobuyoshi <ko1@a...>
Date: Sat, 8 May 2021 15:29:53 +0900 (JST)
Subject: [ruby-changes:66102] c7601fb9ed (master): [ruby/irb] Deal with different screen sizes
https://git.ruby-lang.org/ruby.git/commit/?id=c7601fb9ed From c7601fb9ed41a6d63829b1f8b637f319e3bea462 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 8 May 2021 15:22:02 +0900 Subject: [ruby/irb] Deal with different screen sizes https://github.com/ruby/irb/commit/7118b3322f --- test/irb/test_cmd.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 1e537bd..583e132 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -407,10 +407,10 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L407 end assert_empty err assert_match(/^instance variables:\s+@a\n/m, out) - assert_match(/C#methods: m1\n/m, out) - assert_match(/M#methods: m2\n/m, out) - assert_match(/M2#methods: m3\n/m, out) - assert_match(/C.methods: m4\n/m, out) + assert_match(/C#methods:\s+m1\n/m, out) + assert_match(/M#methods:\s+m2\n/m, out) + assert_match(/M2#methods:\s+m3\n/m, out) + assert_match(/C.methods:\s+m4\n/m, out) end def test_show_source -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/