diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-13 18:53:27 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-13 18:53:27 +0000 |
commit | ca2402f5e4731466b02ba9fa43ffa4b3e7665654 (patch) | |
tree | 6953ff74c79df79bf0dda3409df4a8e3c7bcfb60 /test | |
parent | d1dd727533a1df1b59553b5d3feec87bb1dd951f (diff) | |
download | ruby-ca2402f5e4731466b02ba9fa43ffa4b3e7665654.tar.gz |
retry to fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_regexp.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index c9488dc713..ab06774e38 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -819,9 +819,9 @@ class TestRegexp < Test::Unit::TestCase end def test_dup_warn - assert_in_out_err('-w', 'x=/[\\u3042\\u3041]/', [], /\A\z/) - assert_in_out_err('-w', 'x=/[\\u3042\\u3042]/', [], /duplicated/) - assert_in_out_err('-w', 'x=/[\\u3042\\u3041-\\u3043]/', [], /duplicated/) + assert_in_out_err('-w', "#coding:utf-8\nx=/[\u3042\u3041]/", [], /\A\z/) + assert_in_out_err('-w', "#coding:utf-8\nx=/[\u3042\u3042]/", [], /duplicated/) + assert_in_out_err('-w', "1#coding:utf-8\nx=/[\u3042\u3041-\u3043]/", [], /duplicated/) end def test_property_warn |