From 59c16a1b86ace3cba843692ebfa9ffc9ce09f5f4 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 9 Aug 2018 08:49:10 +0000 Subject: 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 --- test/ruby/test_argf.rb | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.3