Skip to content

Commit 7118b33

Browse files
committed
Deal with different screen sizes
1 parent 5f63a02 commit 7118b33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/irb/test_cmd.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,10 @@ def test_ls
407407
end
408408
assert_empty err
409409
assert_match(/^instance variables:\s+@a\n/m, out)
410-
assert_match(/C#methods: m1\n/m, out)
411-
assert_match(/M#methods: m2\n/m, out)
412-
assert_match(/M2#methods: m3\n/m, out)
413-
assert_match(/C.methods: m4\n/m, out)
410+
assert_match(/C#methods:\s+m1\n/m, out)
411+
assert_match(/M#methods:\s+m2\n/m, out)
412+
assert_match(/M2#methods:\s+m3\n/m, out)
413+
assert_match(/C.methods:\s+m4\n/m, out)
414414
end
415415

416416
def test_show_source

0 commit comments

Comments
 (0)