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

ruby-changes:71244

From: Yusuke <ko1@a...>
Date: Tue, 22 Feb 2022 11:56:17 +0900 (JST)
Subject: [ruby-changes:71244] 89e446683e (master): test/ruby/test_rubyoptions.rb: Make it pass on Windows

https://git.ruby-lang.org/ruby.git/commit/?id=89e446683e

From 89e446683e19fa77e2e0dec6396d4c4c09f36fab Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Wed, 2 Feb 2022 15:08:59 +0900
Subject: test/ruby/test_rubyoptions.rb: Make it pass on Windows

---
 test/ruby/test_rubyoptions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 4adb03edef..b7dfbd25c4 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -357,7 +357,7 @@ class TestRubyOptions < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L357
 
     assert_in_out_err(%W(-\r -e) + [""], "", [], [])
 
-    assert_in_out_err(%W(-\rx), "", [], /invalid option -\r  \(-h will show valid options\) \(RuntimeError\)/)
+    assert_in_out_err(%W(-\rx), "", [], /invalid option -[\r\n]  \(-h will show valid options\) \(RuntimeError\)/)
 
     assert_in_out_err(%W(-\x01), "", [], /invalid option -\x01  \(-h will show valid options\) \(RuntimeError\)/)
 
-- 
cgit v1.2.1


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

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