Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/indent tests/indent: fix unintended trailing w...



details:   https://anonhg.NetBSD.org/src/rev/ee8eb68d06f1
branches:  trunk
changeset: 953339:ee8eb68d06f1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Mar 06 19:51:24 2021 +0000

description:
tests/indent: fix unintended trailing whitespace and space-tab

diffstat:

 tests/usr.bin/indent/declarations.0 |  6 +++---
 tests/usr.bin/indent/opt-c.0        |  4 ++--
 tests/usr.bin/indent/parens.0       |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r 054765aacbb7 -r ee8eb68d06f1 tests/usr.bin/indent/declarations.0
--- a/tests/usr.bin/indent/declarations.0       Sat Mar 06 19:30:44 2021 +0000
+++ b/tests/usr.bin/indent/declarations.0       Sat Mar 06 19:51:24 2021 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: declarations.0,v 1.1 2019/04/04 15:27:35 kamil Exp $   */
+/*     $NetBSD: declarations.0,v 1.2 2021/03/06 19:51:24 rillig Exp $  */
 /* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */
 /* See r303570 */
 
-typedef void   (*voidptr) (int *);
+typedef void   (*voidptr) (int *);
 
 static const struct
 {
@@ -23,7 +23,7 @@
        double          y;
 }      Complex;
 
-void 
+void
 t1 (char *a, int b,
        void (*fn)(void))
 {}
diff -r 054765aacbb7 -r ee8eb68d06f1 tests/usr.bin/indent/opt-c.0
--- a/tests/usr.bin/indent/opt-c.0      Sat Mar 06 19:30:44 2021 +0000
+++ b/tests/usr.bin/indent/opt-c.0      Sat Mar 06 19:51:24 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: opt-c.0,v 1.2 2021/03/06 19:30:44 rillig Exp $ */
+/* $NetBSD: opt-c.0,v 1.3 2021/03/06 19:51:24 rillig Exp $ */
 /* $FreeBSD$ */
 
 bool
@@ -8,5 +8,5 @@
                return n >= 2; /* special case */
        if (n % 2 == 0)
                return false;                           /* even numbers */
-       return true;
+       return true;
 }
diff -r 054765aacbb7 -r ee8eb68d06f1 tests/usr.bin/indent/parens.0
--- a/tests/usr.bin/indent/parens.0     Sat Mar 06 19:30:44 2021 +0000
+++ b/tests/usr.bin/indent/parens.0     Sat Mar 06 19:51:24 2021 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: parens.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
+/*     $NetBSD: parens.0,v 1.2 2021/03/06 19:51:24 rillig Exp $        */
 /* $FreeBSD: head/usr.bin/indent/tests/parens.0 334583 2018-06-03 19:05:20Z pstef $ */
-typedef void   (*xxxxxxxxxxx) (int,
+typedef void   (*xxxxxxxxxxx) (int,
                                char);
 
-typedef char   (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *,
+typedef char   (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *,
                                                 unsigned *,
                                                 char,
                                                 float *);



Home | Main Index | Thread Index | Old Index