From e6a4a8018d1fd070cae7db533840aaa0dbcbe8ec Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 24 Mar 2011 14:03:45 +0000 Subject: [PATCH] * test/ruby/test_defined.rb (TestDefined#test_defined): get rid of ruby-mode hilighting bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_defined.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ruby/test_defined.rb b/test/ruby/test_defined.rb index 07485bd2cc..9d52e04bc0 100644 --- a/test/ruby/test_defined.rb +++ b/test/ruby/test_defined.rb @@ -66,21 +66,21 @@ class TestDefined < Test::Unit::TestCase /a/ =~ 'a' assert_equal 'global-variable', defined?($&) assert_equal 'global-variable', defined?($`) - assert_equal 'global-variable', defined?($') + assert_equal 'global-variable', defined?($') # ' assert_equal nil, defined?($+) assert_equal nil, defined?($1) assert_equal nil, defined?($2) /(a)/ =~ 'a' assert_equal 'global-variable', defined?($&) assert_equal 'global-variable', defined?($`) - assert_equal 'global-variable', defined?($') + assert_equal 'global-variable', defined?($') # ' assert_equal 'global-variable', defined?($+) assert_equal 'global-variable', defined?($1) assert_equal nil, defined?($2) /(a)b/ =~ 'ab' assert_equal 'global-variable', defined?($&) assert_equal 'global-variable', defined?($`) - assert_equal 'global-variable', defined?($') + assert_equal 'global-variable', defined?($') # ' assert_equal 'global-variable', defined?($+) assert_equal 'global-variable', defined?($1) assert_equal nil, defined?($2)