summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-08 15:22:02 +0900
committergit <svn-admin@ruby-lang.org>2021-05-08 15:29:36 +0900
commitc7601fb9ed41a6d63829b1f8b637f319e3bea462 (patch)
treee5ab16f13ab1881ae173b88788fc21a1254a9e7a
parentde96ae9b717b51f8914f6f6916c3df0295364762 (diff)
[ruby/irb] Deal with different screen sizes
https://github.com/ruby/irb/commit/7118b3322f
-rw-r--r--test/irb/test_cmd.rb8
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