[ruby/io-console] Unique paths to be added

https://github.com/ruby/io-console/commit/a3ad851b6c
This commit is contained in:
Nobuyoshi Nakada 2019-09-25 09:42:35 +09:00
parent fc9eb5b9c1
commit c60451d9cd

View File

@ -8,6 +8,7 @@ end
class TestIO_Console < Test::Unit::TestCase
PATHS = $LOADED_FEATURES.grep(%r"/io/console(?:\.#{RbConfig::CONFIG['DLEXT']}|/\w+\.rb)\z") {$`}
PATHS.uniq!
# FreeBSD seems to hang on TTOU when running parallel tests
# tested on FreeBSD 11.x