зеркало из https://github.com/github/ruby.git
test updated for empty symbols
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
4873f59aef
Коммит
ae8095e44d
|
@ -530,7 +530,6 @@ end
|
|||
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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче