[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 96ea27278b4 6/6: ; Fix c-ts-mode indent test
From: |
Yuan Fu |
Subject: |
emacs-29 96ea27278b4 6/6: ; Fix c-ts-mode indent test |
Date: |
Thu, 2 Feb 2023 21:46:22 -0500 (EST) |
branch: emacs-29
commit 96ea27278b43ae5ea72643881015944a819f7974
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Fix c-ts-mode indent test
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: Move the linux
style test case down.
---
.../lisp/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");
+ }
+}
+=-=-=
- emacs-29 updated (88ccf78b206 -> 96ea27278b4), Yuan Fu, 2023/02/02
- emacs-29 b8009bbf2d8 1/6: ; Fix error where we pass t to treesit-node-type in c-ts-common.el, Yuan Fu, 2023/02/02
- emacs-29 8a6bdf88b4b 4/6: Call treesit_record_change in insert_from_gap_1, Yuan Fu, 2023/02/02
- emacs-29 a2b77c79dcc 3/6: Use c-ts-common-statement-offset for closing brackets too, Yuan Fu, 2023/02/02
- emacs-29 74e715cb729 2/6: ; Go back to original point when filling comments in c-ts-mode, Yuan Fu, 2023/02/02
- emacs-29 d963a8f1355 5/6: Make c-ts-mode indent tests side-effect-free, Yuan Fu, 2023/02/02
- emacs-29 96ea27278b4 6/6: ; Fix c-ts-mode indent test,
Yuan Fu <=