[前][次][番号順一覧][スレッド一覧]

ruby-changes:16349

From: naruse <ko1@a...>
Date: Tue, 15 Jun 2010 10:51:00 +0900 (JST)
Subject: [ruby-changes:16349] Ruby:r28326 (trunk): Refix for test_dup_warn.

naruse	2010-06-15 10:50:48 +0900 (Tue, 15 Jun 2010)

  New Revision: 28326

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28326

  Log:
    Refix for test_dup_warn.

  Modified files:
    trunk/test/ruby/test_regexp.rb

Index: test/ruby/test_regexp.rb
===================================================================
--- test/ruby/test_regexp.rb	(revision 28325)
+++ test/ruby/test_regexp.rb	(revision 28326)
@@ -819,9 +819,9 @@
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]