Skip to content

Commit

Permalink
fix(spec): adds missing argument in function in syntax_errors_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-Mitchell committed Dec 14, 2024
1 parent 2cb2ea5 commit db12d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lang/parser/syntax_errors_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db12d8b

Please sign in to comment.