summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-25 09:42:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-25 09:43:31 +0900
commitc60451d9cd8ff69095acf826b11ea01557cc9b8b (patch)
treef0941a6f304e648de66dcbe06b646c6f6f670b39 /test
parentfc9eb5b9c1b0a6f61735ace45ab39c281a55e8a3 (diff)
[ruby/io-console] Unique paths to be added
https://github.com/ruby/io-console/commit/a3ad851b6c
Diffstat (limited to 'test')
-rw-r--r--test/io/console/test_io_console.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 3cf21d22ec..1215e21e34 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -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