diff options
| author | ruki <[email protected]> | 2026-01-21 22:09:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-21 22:09:14 +0800 |
| commit | e36eec65251b48fb5188691e86006ea8266ebe9a (patch) | |
| tree | 83375bf9be0bea0a11b66793fa98bf06f6f3cab2 /tests/modules/string | |
| parent | 197dfb660a35825d0bb46f8ef69884d7ec00c410 (diff) | |
format code
Diffstat (limited to 'tests/modules/string')
| -rw-r--r-- | tests/modules/string/test.lua | 2 |
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) |
