aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/test/reverse_index_spec.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-28 18:43:14 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-28 18:43:14 +0800
commitdd64edd58fe25ec74ae5958128cf3f74b0692f3b (patch)
tree0f2de1df55897e2713977c5a53936757e14b477a /spec/outputs/test/reverse_index_spec.lua
parent7c2a92b82e9808d3c5ea29b47d1c59d663fe984a (diff)
downloadyuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.gz
yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.bz2
yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.zip
Fixed compiler issues and added 800+ test cases.
Diffstat (limited to 'spec/outputs/test/reverse_index_spec.lua')
-rw-r--r--spec/outputs/test/reverse_index_spec.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/outputs/test/reverse_index_spec.lua b/spec/outputs/test/reverse_index_spec.lua
index 396c3b9..b1d2359 100644
--- a/spec/outputs/test/reverse_index_spec.lua
+++ b/spec/outputs/test/reverse_index_spec.lua
@@ -116,10 +116,6 @@ return describe("reverse index", function()
116 end 116 end
117 return assert.same(last, 3) 117 return assert.same(last, 3)
118 end) 118 end)
119 it("should work with string", function()
120 local s = "hello"
121 return assert.same(s[#s], "o")
122 end)
123 it("should handle negative offsets", function() 119 it("should handle negative offsets", function()
124 local tab = { 120 local tab = {
125 1, 121 1,