[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
@ -34,6 +34,16 @@ begin
|
|||||||
prompt>
|
prompt>
|
||||||
EOC
|
EOC
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_autowrap
|
||||||
|
write('01234567890123456789012')
|
||||||
|
close
|
||||||
|
assert_screen(<<~EOC)
|
||||||
|
Multiline REPL.
|
||||||
|
prompt> 0123456789012345678901
|
||||||
|
2
|
||||||
|
EOC
|
||||||
|
end
|
||||||
end
|
end
|
||||||
rescue LoadError, NameError
|
rescue LoadError, NameError
|
||||||
# On Ruby repository, this test suit doesn't run because Ruby repo doesn't
|
# On Ruby repository, this test suit doesn't run because Ruby repo doesn't
|
||||||
|
Loading…
x
Reference in New Issue
Block a user