зеркало из https://github.com/github/ruby.git
[ruby/reline] Add a test of autowrap for yamatanooroti
https://github.com/ruby/reline/commit/38676ba8c2
This commit is contained in:
Родитель
f56e05fa7d
Коммит
9f18b139c9
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче