diff options
Diffstat (limited to 'test/ruby/test_argf.rb')
-rw-r--r-- | test/ruby/test_argf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb index d9266b4018..84397a2d01 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -258,6 +258,9 @@ class TestArgf < Test::Unit::TestCase def test_inplace_nonascii ext = Encoding.default_external or skip "no default external encoding" + if ext == Encoding::US_ASCII + skip "external encoding is us-ascii" + end t = nil ["\u{3042}", "\u{e9}"].any? {|n| t = make_tempfile(n.encode(ext))} or skip "no name to test" |