summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-11-14 02:41:30 +0900
committerKoichi Sasada <ko1@atdot.net>2021-11-14 02:41:30 +0900
commit38c555a3150b6c22be650dc5c89ed5927c640e8c (patch)
tree7352109e93296d978fc509089e4e79c64490a9b7 /test
parent43358c08f67f2fe167009a370cb7e9b23c87d92a (diff)
show encoding for each path
Diffstat (limited to 'test')
-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 d79ad1a084..33b98990a1 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -11,7 +11,7 @@ class TestIO_Console < Test::Unit::TestCase
PATHS = $LOADED_FEATURES.grep(%r"/io/console(?:\.#{RbConfig::CONFIG['DLEXT']}|\.rb|/\w+\.rb)\z") {$`}
rescue Encoding::CompatibilityError
$stderr.puts "test_io_console.rb debug"
- $stderr.puts $LOADED_FEATURES.inspect
+ $LOADED_FEATURES.each{|path| $stderr.puts [path, path.encoding].inspect}
raise
end
PATHS.uniq!