aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/test
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-02-11 17:38:58 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-11 17:38:58 +0800
commitc65ead24430d0cb3b0af3f896df43827dbf7bbb2 (patch)
tree4c2fc8a368ca6c39e74674e37384620d2b609ce8 /spec/outputs/test
parent663a8c622db13b3a9dad962071ff6f3cfb482de3 (diff)
downloadyuescript-c65ead24430d0cb3b0af3f896df43827dbf7bbb2.tar.gz
yuescript-c65ead24430d0cb3b0af3f896df43827dbf7bbb2.tar.bz2
yuescript-c65ead24430d0cb3b0af3f896df43827dbf7bbb2.zip
Fixed issues.
Diffstat (limited to 'spec/outputs/test')
-rw-r--r--spec/outputs/test/with_statement_spec.lua16
1 files changed, 6 insertions, 10 deletions
diff --git a/spec/outputs/test/with_statement_spec.lua b/spec/outputs/test/with_statement_spec.lua
index e6f64e8..8031364 100644
--- a/spec/outputs/test/with_statement_spec.lua
+++ b/spec/outputs/test/with_statement_spec.lua
@@ -201,16 +201,12 @@ return describe("with statement", function()
201 local result 201 local result
202 do 202 do
203 local _with_0 = nil 203 local _with_0 = nil
204 do 204 repeat
205 local _accum_0 = { } 205 if _with_0 ~= nil then
206 repeat 206 result = _with_0.value
207 if _with_0 ~= nil then 207 break
208 result = _with_0.value 208 end
209 break 209 until true
210 end
211 until true
212 result = _accum_0
213 end
214 end 210 end
215 return assert.same(result, nil) 211 return assert.same(result, nil)
216 end) 212 end)