diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 86acbe0c..9ee572cb 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1839,7 +1839,7 @@ end TEST [[ ---@return any, any function F() - X = 1<!!> + X = 1 end ]] @@ -1894,4 +1894,11 @@ function F() end ]] +TEST [[ +---@return number? +function F() + +end +]] + util.arrayRemove(disables, 'redundant-return') |