diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-05-08 15:22:02 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-05-08 15:29:36 +0900 |
commit | c7601fb9ed41a6d63829b1f8b637f319e3bea462 (patch) | |
tree | e5ab16f13ab1881ae173b88788fc21a1254a9e7a | |
parent | de96ae9b717b51f8914f6f6916c3df0295364762 (diff) |
[ruby/irb] Deal with different screen sizes
https://github.com/ruby/irb/commit/7118b3322f
-rw-r--r-- | test/irb/test_cmd.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 1e537bdb85..583e13278b 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -407,10 +407,10 @@ module TestIRB 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 |