summaryrefslogtreecommitdiff
path: root/tests/modules/string/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/string/test.lua')
-rw-r--r--tests/modules/string/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/string/test.lua b/tests/modules/string/test.lua
index 4b093de45..1ec4b52a1 100644
--- a/tests/modules/string/test.lua
+++ b/tests/modules/string/test.lua
@@ -94,7 +94,7 @@ function test_lastof(t)
t:are_equal(("/home/file.txt"):lastof('/', true), 6)
t:are_equal(("/home/file.txt"):lastof('/home', true), 1)
t:are_equal(("/home/file.txt"):lastof('[/\\]home'), 1)
-
+
-- long string
local longstr = ("a"):rep(1000) .. "b"
t:are_equal(longstr:lastof("b"), 1001)