ruby-changes:61279
From: aycabta <ko1@a...>
Date: Sun, 17 May 2020 19:30:53 +0900 (JST)
Subject: [ruby-changes:61279] 9f18b139c9 (master): [ruby/reline] Add a test of autowrap for yamatanooroti
https://git.ruby-lang.org/ruby.git/commit/?id=9f18b139c9 From 9f18b139c9d93c0bcfdc4f4e502ab024c4212fc0 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sat, 16 May 2020 18:25:56 +0900 Subject: [ruby/reline] Add a test of autowrap for yamatanooroti https://github.com/ruby/reline/commit/38676ba8c2 diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb index 4eab666..907ad58 100644 --- a/test/reline/yamatanooroti/test_rendering.rb +++ b/test/reline/yamatanooroti/test_rendering.rb @@ -34,6 +34,16 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L34 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/