summaryrefslogtreecommitdiff
path: root/test/ruby/test_argf.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-09 08:49:10 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-09 08:49:10 +0000
commita21b9622f6acc1cd9984ad9deb434054ee219ed9 (patch)
tree7939701571f0cfaa9afcf44a3f502bbae32b7936 /test/ruby/test_argf.rb
parent842b735979f41169900af88a50e24d0d5e698a44 (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.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index d9266b40187..84397a2d013 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"