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

ruby-changes:65148

From: Charles <ko1@a...>
Date: Fri, 5 Feb 2021 12:30:53 +0900 (JST)
Subject: [ruby-changes:65148] 8960d6b5bd (master): [ruby/io-console] Add console.rb to search for paths

https://git.ruby-lang.org/ruby.git/commit/?id=8960d6b5bd

From 8960d6b5bdf8cffe01aa21bec17d8b889398acae Mon Sep 17 00:00:00 2001
From: Charles Oliver Nutter <headius@h...>
Date: Wed, 3 Feb 2021 14:51:02 -0600
Subject: [ruby/io-console] Add console.rb to search for paths

https://github.com/ruby/io-console/commit/74567376c4
---
 test/io/console/test_io_console.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index adcff4a..105afc1 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -7,7 +7,7 @@ rescue LoadError https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L7
 end
 
 class TestIO_Console < Test::Unit::TestCase
-  PATHS = $LOADED_FEATURES.grep(%r"/io/console(?:\.#{RbConfig::CONFIG['DLEXT']}|/\w+\.rb)\z") {$`}
+  PATHS = $LOADED_FEATURES.grep(%r"/io/console(?:\.#{RbConfig::CONFIG['DLEXT']}|\.rb|/\w+\.rb)\z") {$`}
   PATHS.uniq!
 
   # FreeBSD seems to hang on TTOU when running parallel tests
-- 
cgit v1.1


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

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