From c65ead24430d0cb3b0af3f896df43827dbf7bbb2 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 11 Feb 2026 17:38:58 +0800 Subject: Fixed issues. --- spec/outputs/test/with_statement_spec.lua | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'spec/outputs/test/with_statement_spec.lua') 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() local result do local _with_0 = nil - do - local _accum_0 = { } - repeat - if _with_0 ~= nil then - result = _with_0.value - break - end - until true - result = _accum_0 - end + repeat + if _with_0 ~= nil then + result = _with_0.value + break + end + until true end return assert.same(result, nil) end) -- cgit v1.2.3-55-g6feb