summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 37ea6bc7..f79f1872 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1377,3 +1377,9 @@ TEST [[
TEST [[
---@class A 1
]]
+
+TEST [[
+local value
+value = '1'
+value = value:gsub()
+]]