mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Add a test of autowrap for yamatanooroti
https://github.com/ruby/reline/commit/38676ba8c2
This commit is contained in:
parent
f56e05fa7d
commit
9f18b139c9
1 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,16 @@ begin
|
|||
prompt>
|
||||
EOC
|
||||
end
|
||||
|
||||
def test_autowrap
|
||||
write('01234567890123456789012')
|
||||
close
|
||||
assert_screen(<<~EOC)
|
||||
Multiline REPL.
|
||||
prompt> 0123456789012345678901
|
||||
2
|
||||
EOC
|
||||
end
|
||||
end
|
||||
rescue LoadError, NameError
|
||||
# On Ruby repository, this test suit doesn't run because Ruby repo doesn't
|
||||
|
|
Loading…
Reference in a new issue