diff --git a/spec/lang/parser/syntax_errors_spec.lua b/spec/lang/parser/syntax_errors_spec.lua index aa81590e..35c1a069 100644 --- a/spec/lang/parser/syntax_errors_spec.lua +++ b/spec/lang/parser/syntax_errors_spec.lua @@ -96,7 +96,7 @@ describe("syntax errors", function() })) it("doesn't support function calls on new lines", util.check_syntax_error([=[ - local function test(): function() + local function test(a: string): function() end test