Skip to content

Commit e6084bc

Browse files
committed
test(diagnostics): add return diagnostics for missing-local-doc
1 parent 7dc8713 commit e6084bc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/diagnostics/missing-local-doc.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ end
1515
local function fl1(p)
1616
end
1717
]]
18+
19+
TEST [[
20+
local function fl0()
21+
return <!42!>
22+
end
23+
24+
---@return integer
25+
local function fl1()
26+
return 42
27+
end
28+
]]

0 commit comments

Comments
 (0)