mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
f56e05fa7d
commit
9f18b139c9
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue