summaryrefslogtreecommitdiff
path: root/server/test/find_lib/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/find_lib/init.lua')
-rw-r--r--server/test/find_lib/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua
index 1efb2423..910167c8 100644
--- a/server/test/find_lib/init.lua
+++ b/server/test/find_lib/init.lua
@@ -78,3 +78,8 @@ t.<?insert?>()
TEST 'table.insert' [[
require 'table'.<?insert?>()
]]
+
+TEST '*string:sub' [[
+local str = 'xxx'
+str:<?sub?>(1, 1)
+]]