ruby-changes:16338
From: naruse <ko1@a...>
Date: Mon, 14 Jun 2010 03:53:43 +0900 (JST)
Subject: [ruby-changes:16338] Ruby:r28313 (trunk): retry to fix test.
naruse 2010-06-14 03:53:27 +0900 (Mon, 14 Jun 2010) New Revision: 28313 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28313 Log: retry to fix test. Modified files: trunk/test/ruby/test_regexp.rb Index: test/ruby/test_regexp.rb =================================================================== --- test/ruby/test_regexp.rb (revision 28312) +++ test/ruby/test_regexp.rb (revision 28313) @@ -819,9 +819,9 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/