ruby-changes:3865
From: ko1@a...
Date: Thu, 31 Jan 2008 09:39:07 +0900 (JST)
Subject: [ruby-changes:3865] matz - Ruby:r15354 (trunk): test updated for empty symbols
matz 2008-01-31 09:38:38 +0900 (Thu, 31 Jan 2008) New Revision: 15354 Modified files: trunk/bootstraptest/test_syntax.rb Log: test updated for empty symbols http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_syntax.rb?r1=15354&r2=15353&diff_format=u Index: bootstraptest/test_syntax.rb =================================================================== --- bootstraptest/test_syntax.rb (revision 15353) +++ bootstraptest/test_syntax.rb (revision 15354) @@ -530,7 +530,6 @@ assert_syntax_error "unterminated string meets end of file", '().."', '[ruby-dev:29732]' assert_equal %q{[]}, %q{$&;[]}, '[ruby-dev:31068]' assert_syntax_error "syntax error, unexpected tSTAR, expecting '}'", %q{{*0}}, '[ruby-dev:31072]' -assert_syntax_error "empty symbol literal", %q{0..:""}, '[ruby-dev:31085]' assert_syntax_error "`@0' is not allowed as an instance variable name", %q{@0..0}, '[ruby-dev:31095]' assert_syntax_error "identifier $00 is not valid to get", %q{$00..0}, '[ruby-dev:31100]' assert_syntax_error "identifier $00 is not valid to set", %q{0..$00=1} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/