diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index adcff4a4ea3c6d..105afc17384f23 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -7,7 +7,7 @@ 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