diff options
author | aycabta <aycabta@gmail.com> | 2021-10-10 18:58:46 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-10-11 14:10:35 +0900 |
commit | 3112e876a17aa750a75d56a7841902bff799b796 (patch) | |
tree | 4296142a51c7536f0340df17be3b4e0298ff60aa /test/reline/yamatanooroti/multiline_repl | |
parent | 391d6ab4f7c3070d0c46dbd7496255d8269f6c1f (diff) |
[ruby/reline] Add tests for dialog with fullwidth chars and corner cases
https://github.com/ruby/reline/commit/35ab5d47a8
Diffstat (limited to 'test/reline/yamatanooroti/multiline_repl')
-rwxr-xr-x | test/reline/yamatanooroti/multiline_repl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/reline/yamatanooroti/multiline_repl b/test/reline/yamatanooroti/multiline_repl index 2e826793fa..da886b8f06 100755 --- a/test/reline/yamatanooroti/multiline_repl +++ b/test/reline/yamatanooroti/multiline_repl @@ -55,6 +55,15 @@ opt.on('--dialog VAL') { |v| natural to read and easy to write. RUBY + elsif v.include?('fullwidth') + contents = <<~RUBY.split("\n") + Rubyとは... + + オープンソースの動的なプログラミン + グ言語で、シンプルさと高い生産性を + 備えています。エレガントな文法を持 + ち、自然に読み書きができます。 + RUBY end if v.include?('scrollkey') dialog.trap_key = nil |