ruby-changes:16361
From: nobu <ko1@a...>
Date: Wed, 16 Jun 2010 17:21:42 +0900 (JST)
Subject: [ruby-changes:16361] Ruby:r28338 (trunk): * test/ruby/test_{regexp,rubyoptions}.rb: trivial change.
nobu 2010-06-16 17:21:28 +0900 (Wed, 16 Jun 2010) New Revision: 28338 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28338 Log: * test/ruby/test_{regexp,rubyoptions}.rb: trivial change. Modified files: trunk/test/ruby/test_regexp.rb trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_regexp.rb =================================================================== --- test/ruby/test_regexp.rb (revision 28337) +++ test/ruby/test_regexp.rb (revision 28338) @@ -819,9 +819,9 @@ end def test_dup_warn - 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/) + assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041]/\n!x", [], /\A\z/) + assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3042]/\n!x", [], /duplicated/) + assert_in_out_err(%w/-w -U/, "#coding:utf-8\nx=/[\u3042\u3041-\u3043]/\n!x", [], /duplicated/) end def test_property_warn Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 28337) +++ test/ruby/test_rubyoptions.rb (revision 28338) @@ -291,6 +291,7 @@ t.puts "end" t.puts "0.times do" t.puts " if b = 2" + t.puts " a += b" t.puts " end" t.puts "end" t.close @@ -382,8 +383,8 @@ ---------------------------\n (?: --\sRuby\slevel\sbacktrace\sinformation\s----------------------------------------\n - -e:1:in\s`<main>'\n - -e:1:in\s`kill'\n + -e:1:in\s\`<main>\'\n + -e:1:in\s\`kill\'\n )? \n (?: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/