From 96ea27278b43ae5ea72643881015944a819f7974 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 2 Feb 2023 18:30:11 -0800 Subject: [PATCH] ; Fix c-ts-mode indent test * test/lisp/progmodes/c-ts-mode-resources/indent.erts: Move the linux style test case down. --- .../progmodes/c-ts-mode-resources/indent.erts | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/test/lisp/progmodes/c-ts-mode-resources/indent.erts b/test/lisp/progmodes/c-ts-mode-resources/indent.erts index 3704f06d2ae..058c6e9099c 100644 --- a/test/lisp/progmodes/c-ts-mode-resources/indent.erts +++ b/test/lisp/progmodes/c-ts-mode-resources/indent.erts @@ -135,32 +135,6 @@ int main() { } =-=-= -Name: Bracket-less Block-Statement (Linux Style) (bug#61026) - -=-=-= -int main() { - while (true) - if (true) { - puts ("Hello"); - } - for (int i=0; - i<5; - i++) - if (true) { - puts ("Hello"); - } - do - if (true) { - puts ("Hello"); - } - while (true); - if (true) - if (true) { - puts ("Hello"); - } -} -=-=-= - Name: Multiline Parameter List (bug#60398) =-= @@ -244,3 +218,29 @@ label: } } =-=-= + +Name: Bracket-less Block-Statement (Linux Style) (bug#61026) + +=-=-= +int main() { + while (true) + if (true) { + puts ("Hello"); + } + for (int i=0; + i<5; + i++) + if (true) { + puts ("Hello"); + } + do + if (true) { + puts ("Hello"); + } + while (true); + if (true) + if (true) { + puts ("Hello"); + } +} +=-=-= -- 2.39.2