You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/mri/excludes/TestParse.rb
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
exclude:test_disallowed_class_variable,"/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:380:in `block in assert_disallowed_variable'."
exclude:test_disallowed_instance_variable,"/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:380:in `block in assert_disallowed_variable'."
assert_syntax_error("proc{a = #{name} }",/`#{Regexp.escapenoname[0]}' without identifiers is not allowed as #{type} variable name|`#{Regexp.escapenoname[0]}' is not allowed as #{type} variable name/)
380
+
assert_syntax_error("proc{a = #{name} }",/(`|')#{Regexp.escapenoname[0]}' without identifiers is not allowed as #{type} variable name|(`|')#{Regexp.escapenoname[0]}' is not allowed as #{type} variable name/)
381
381
end
382
382
invalid.eachdo |name|
383
-
assert_syntax_error("proc {a = #{name} }",/`#{Regexp.escapename}' is not allowed as #{type} variable name|`#{Regexp.escapenoname[0]}' is not allowed as #{type} variable name/)
383
+
assert_syntax_error("proc {a = #{name} }",/(`|')#{Regexp.escapename}' is not allowed as #{type} variable name|(`|')#{Regexp.escapenoname[0]}' is not allowed as #{type} variable name/)
0 commit comments