Skip to content

Commit 38676ba

Browse files
committed
Add a test of autowrap for yamatanooroti
1 parent f03fff3 commit 38676ba

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/reline/yamatanooroti/test_rendering.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ def test_backspace
3434
prompt>
3535
EOC
3636
end
37+
38+
def test_autowrap
39+
write('01234567890123456789012')
40+
close
41+
assert_screen(<<~EOC)
42+
Multiline REPL.
43+
prompt> 0123456789012345678901
44+
2
45+
EOC
46+
end
3747
end
3848
rescue LoadError, NameError
3949
# On Ruby repository, this test suit doesn't run because Ruby repo doesn't

0 commit comments

Comments
 (0)