[前][次][番号順一覧][スレッド一覧]

ruby-changes:67688

From: aycabta <ko1@a...>
Date: Fri, 10 Sep 2021 09:06:10 +0900 (JST)
Subject: [ruby-changes:67688] 90f0f22fcc (master): [ruby/reline] Use single quotes to match others in the file

https://git.ruby-lang.org/ruby.git/commit/?id=90f0f22fcc

From 90f0f22fcc905aed76772b583691d9615dcc91b8 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Fri, 10 Sep 2021 07:58:34 +0900
Subject: [ruby/reline] Use single quotes to match others in the file

https://github.com/ruby/reline/commit/a17de2d6d8
---
 test/reline/yamatanooroti/test_rendering.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb
index 29a5268..8b06cd8 100644
--- a/test/reline/yamatanooroti/test_rendering.rb
+++ b/test/reline/yamatanooroti/test_rendering.rb
@@ -936,7 +936,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L936
 
     def test_autocomplete
       start_terminal(20, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --autocomplete}, startup_message: 'Multiline REPL.')
-      write("Str")
+      write('Str')
       close
       assert_screen(<<~'EOC')
         Multiline REPL.
@@ -948,7 +948,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L948
 
     def test_autocomplete_long_with_scrollbar
       start_terminal(20, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --autocomplete-long}, startup_message: 'Multiline REPL.')
-      write("S")
+      write('S')
       close
       assert_screen(<<~'EOC')
         Multiline REPL.
@@ -973,7 +973,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L973
 
     def test_autocomplete_long_with_scrollbar_scroll
       start_terminal(20, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --autocomplete-long}, startup_message: 'Multiline REPL.')
-      write("S" + "\C-i" * 16)
+      write('S' + "\C-i" * 16)
       close
       assert_screen(<<~'EOC')
         Multiline REPL.
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]