Module Name:    src
Committed By:   rillig
Date:           Wed Oct 13 23:03:10 UTC 2021

Modified Files:
        src/tests/usr.bin/indent: opt-fc1.0 opt-fc1.0.stdout opt-nfc1.0
            opt-nfc1.0.stdout

Log Message:
tests/indent: test long comments in single line

I had expected them to differ depending on the option '-[n]fc1', but
they look exactly the same. There are several possibilities for the
leading space in the output.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/indent/opt-fc1.0 \
    src/tests/usr.bin/indent/opt-fc1.0.stdout \
    src/tests/usr.bin/indent/opt-nfc1.0 \
    src/tests/usr.bin/indent/opt-nfc1.0.stdout

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/indent/opt-fc1.0
diff -u src/tests/usr.bin/indent/opt-fc1.0:1.4 src/tests/usr.bin/indent/opt-fc1.0:1.5
--- src/tests/usr.bin/indent/opt-fc1.0:1.4	Sat Sep 25 18:02:48 2021
+++ src/tests/usr.bin/indent/opt-fc1.0	Wed Oct 13 23:03:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: opt-fc1.0,v 1.4 2021/09/25 18:02:48 rillig Exp $ */
+/* $NetBSD: opt-fc1.0,v 1.5 2021/10/13 23:03:10 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -30,3 +30,7 @@
  *//* followed by another multi-line comment
  * that starts in column 4.
  */
+
+/* comment */ int decl2; /* comment */
+/* looooooooooooooooooooooooooooooooooooooooong first comment */ int decl2; /* second comment */
+/* first comment */ int decl2; /* looooooooooooooooooooooooooooooooooooooooong second comment */
Index: src/tests/usr.bin/indent/opt-fc1.0.stdout
diff -u src/tests/usr.bin/indent/opt-fc1.0.stdout:1.4 src/tests/usr.bin/indent/opt-fc1.0.stdout:1.5
--- src/tests/usr.bin/indent/opt-fc1.0.stdout:1.4	Sat Sep 25 18:02:48 2021
+++ src/tests/usr.bin/indent/opt-fc1.0.stdout	Wed Oct 13 23:03:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: opt-fc1.0.stdout,v 1.4 2021/09/25 18:02:48 rillig Exp $ */
+/* $NetBSD: opt-fc1.0.stdout,v 1.5 2021/10/13 23:03:10 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -29,3 +29,8 @@
  * followed by another multi-line comment that starts in column 4.
  */
 /* $ XXX: The two comments have been merged into a single comment. */
+
+ /* comment */ int decl2;	/* comment */
+ /* looooooooooooooooooooooooooooooooooooooooong first comment */ int decl2;	/* second comment */
+ /* first comment */ int decl2;	/* looooooooooooooooooooooooooooooooooooooooong
+				 * second comment */
Index: src/tests/usr.bin/indent/opt-nfc1.0
diff -u src/tests/usr.bin/indent/opt-nfc1.0:1.4 src/tests/usr.bin/indent/opt-nfc1.0:1.5
--- src/tests/usr.bin/indent/opt-nfc1.0:1.4	Sat Sep 25 18:02:48 2021
+++ src/tests/usr.bin/indent/opt-nfc1.0	Wed Oct 13 23:03:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: opt-nfc1.0,v 1.4 2021/09/25 18:02:48 rillig Exp $ */
+/* $NetBSD: opt-nfc1.0,v 1.5 2021/10/13 23:03:10 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -30,3 +30,7 @@
  *//* followed by another multi-line comment
  * that starts in column 4.
  */
+
+/* comment */ int decl2; /* comment */
+/* looooooooooooooooooooooooooooooooooooooooong first comment */ int decl2; /* second comment */
+/* first comment */ int decl2; /* looooooooooooooooooooooooooooooooooooooooong second comment */
Index: src/tests/usr.bin/indent/opt-nfc1.0.stdout
diff -u src/tests/usr.bin/indent/opt-nfc1.0.stdout:1.4 src/tests/usr.bin/indent/opt-nfc1.0.stdout:1.5
--- src/tests/usr.bin/indent/opt-nfc1.0.stdout:1.4	Sat Sep 25 18:02:48 2021
+++ src/tests/usr.bin/indent/opt-nfc1.0.stdout	Wed Oct 13 23:03:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: opt-nfc1.0.stdout,v 1.4 2021/09/25 18:02:48 rillig Exp $ */
+/* $NetBSD: opt-nfc1.0.stdout,v 1.5 2021/10/13 23:03:10 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -44,3 +44,8 @@
   * followed by another multi-line comment that starts in column 4.
   */
 /* $ XXX: The two comments have been merged into a single comment. */
+
+ /* comment */ int decl2;	/* comment */
+ /* looooooooooooooooooooooooooooooooooooooooong first comment */ int decl2;	/* second comment */
+ /* first comment */ int decl2;	/* looooooooooooooooooooooooooooooooooooooooong
+				 * second comment */

Reply via email to