From: Yuan Fu Date: Fri, 3 Feb 2023 02:30:11 +0000 (-0800) Subject: ; Fix c-ts-mode indent test X-Git-Tag: emacs-29.0.90~528 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96ea27278b43ae5ea72643881015944a819f7974;p=emacs.git ; Fix c-ts-mode indent test * test/lisp/progmodes/c-ts-mode-resources/indent.erts: Move the linux style test case down. --- 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"); + } +} +=-=-=