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

ruby-changes:70662

From: aycabta <ko1@a...>
Date: Thu, 30 Dec 2021 20:52:25 +0900 (JST)
Subject: [ruby-changes:70662] 2a311594cc (master): [ruby/reline] Omit a test on Ruby 2.6

https://git.ruby-lang.org/ruby.git/commit/?id=2a311594cc

From 2a311594cc02eace6122d7e5715ae7ac61bc40a7 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 30 Dec 2021 20:47:46 +0900
Subject: [ruby/reline] Omit a test on Ruby 2.6

Some tokens in Ruby 2.6 have difference information than in 2.7 and later,
but 2.6 will soon be out of support.

https://github.com/ruby/reline/commit/f3bc698385
---
 test/reline/yamatanooroti/test_rendering.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb
index 43c24f64125..849fb9faad5 100644
--- a/test/reline/yamatanooroti/test_rendering.rb
+++ b/test/reline/yamatanooroti/test_rendering.rb
@@ -121,6 +121,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L121
     end
 
     def test_finish_autowrapped_line_in_the_middle_of_multilines
+      omit if RUBY_VERSION < '2.7'
       start_terminal(30, 16, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.')
       write("<<~EOM\n  ABCDEFG\nEOM\n")
       close
-- 
cgit v1.2.1


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

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