Refix test_regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
423b4d815f
commit
77f0c30612
@ -819,9 +819,9 @@ class TestRegexp < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_dup_warn
|
||||
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/)
|
||||
assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041]/", [], /\A\z/)
|
||||
assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3042]/", [], /duplicated/)
|
||||
assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041-\u3043]/", [], /duplicated/)
|
||||
end
|
||||
|
||||
def test_property_warn
|
||||
|
Loading…
x
Reference in New Issue
Block a user