diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-09 08:49:10 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-09 08:49:10 +0000 |
commit | a21b9622f6acc1cd9984ad9deb434054ee219ed9 (patch) | |
tree | 7939701571f0cfaa9afcf44a3f502bbae32b7936 /test/ruby/test_argf.rb | |
parent | 842b735979f41169900af88a50e24d0d5e698a44 (diff) |
Skip test_inplace_nonascii if external encoding is us-ascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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" |