test for double comma in fn args
This commit is contained in:
parent
b82be09b95
commit
d4acb3f014
@ -91,3 +91,7 @@ error!(
|
||||
args_do_not_start_with_var,
|
||||
"@function foo(FOO) {}", "Error: expected \")\"."
|
||||
);
|
||||
error!(
|
||||
double_comma_args,
|
||||
"@function foo($a,$b,,) {}", "Error: expected \")\"."
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user