diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-15 01:50:48 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-15 01:50:48 +0000 |
commit | 895b0d4cdb9f3b99d0e67488cad69b1b148eddbe (patch) | |
tree | 2e5e8f0b878ac504578791641ebe4a3cc849f2f6 /test/ruby/test_regexp.rb | |
parent | a1a529e603dbe3b1323ce6a253d69050ad197394 (diff) | |
download | ruby-895b0d4cdb9f3b99d0e67488cad69b1b148eddbe.tar.gz |
Refix for test_dup_warn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_regexp.rb')
-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 ab06774e38..05fc4c6cdb 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', "#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/) + assert_in_out_err('-w -U', "#coding:utf-8\nx=/[\u3042\u3041]/", [], /\A\z/) + assert_in_out_err('-w -U', "#coding:utf-8\nx=/[\u3042\u3042]/", [], /duplicated/) + assert_in_out_err('-w -U', "#coding:utf-8\nx=/[\u3042\u3041-\u3043]/", [], /duplicated/) end def test_property_warn |