From 7118b3322f46ca3d5197d0e0d002a13ae2bf2636 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 8 May 2021 15:22:02 +0900 Subject: [PATCH] Deal with different screen sizes --- 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 1e537bdb8..583e13278 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -407,10 +407,10 @@ def test_ls 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