summaryrefslogtreecommitdiff
path: root/test/io
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2021-02-03 14:51:02 -0600
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-05 12:01:38 +0900
commit8960d6b5bdf8cffe01aa21bec17d8b889398acae (patch)
tree44a7399a55df74e63a9ce923183f4d49d689b53f /test/io
parent9ef7780b0946c2bc96fe39b32c75c08134bfb408 (diff)
[ruby/io-console] Add console.rb to search for paths
https://github.com/ruby/io-console/commit/74567376c4
Diffstat (limited to 'test/io')
-rw-r--r--test/io/console/test_io_console.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index adcff4a4ea..105afc1738 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -7,7 +7,7 @@ rescue LoadError
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