mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
842b735979
commit
a21b9622f6
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ class TestArgf < Test::Unit::TestCase
|
||||||
def test_inplace_nonascii
|
def test_inplace_nonascii
|
||||||
ext = Encoding.default_external or
|
ext = Encoding.default_external or
|
||||||
skip "no default external encoding"
|
skip "no default external encoding"
|
||||||
|
if ext == Encoding::US_ASCII
|
||||||
|
skip "external encoding is us-ascii"
|
||||||
|
end
|
||||||
t = nil
|
t = nil
|
||||||
["\u{3042}", "\u{e9}"].any? {|n| t = make_tempfile(n.encode(ext))} or
|
["\u{3042}", "\u{e9}"].any? {|n| t = make_tempfile(n.encode(ext))} or
|
||||||
skip "no name to test"
|
skip "no name to test"
|
||||||
|
|
Loading…
Add table
Reference in a new issue