ruby-changes:16351
From: naruse <ko1@a...>
Date: Tue, 15 Jun 2010 13:48:53 +0900 (JST)
Subject: [ruby-changes:16351] Ruby:r28328 (trunk): Refix test_regexp.
naruse 2010-06-15 13:48:42 +0900 (Tue, 15 Jun 2010) New Revision: 28328 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28328 Log: Refix test_regexp. Modified files: trunk/test/ruby/test_regexp.rb Index: test/ruby/test_regexp.rb =================================================================== --- test/ruby/test_regexp.rb (revision 28327) +++ test/ruby/test_regexp.rb (revision 28328) @@ -819,9 +819,9 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/