aboutsummaryrefslogtreecommitdiff
path: root/test/unit/formatc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/formatc.lua')
-rw-r--r--test/unit/formatc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua
index ce9cb81f4a..04a8b4009f 100644
--- a/test/unit/formatc.lua
+++ b/test/unit/formatc.lua
@@ -264,6 +264,7 @@ local function formatc(str)
-- and ';' indicates we're at the end of a statement, so we put end
-- it with a newline.
token[1] = ';\n'
+ end_at_brace = false
end
elseif typ == 'whitespace' then
-- replace all whitespace by one space