Module Name:    src
Committed By:   rillig
Date:           Fri Oct  8 22:11:26 UTC 2021

Modified Files:
        src/tests/usr.bin/indent: token-comment.0 token-comment.0.stdout

Log Message:
tests/indent: test formatting of a chaotic boxed comment


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/indent/token-comment.0
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/indent/token-comment.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/token-comment.0
diff -u src/tests/usr.bin/indent/token-comment.0:1.5 src/tests/usr.bin/indent/token-comment.0:1.6
--- src/tests/usr.bin/indent/token-comment.0:1.5	Tue Oct  5 21:01:10 2021
+++ src/tests/usr.bin/indent/token-comment.0	Fri Oct  8 22:11:26 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: token-comment.0,v 1.5 2021/10/05 21:01:10 rillig Exp $ */
+/* $NetBSD: token-comment.0,v 1.6 2021/10/08 22:11:26 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -139,3 +139,15 @@ void indent_on ( void ) ;
 void indent_still_on ( void ) ;	/* due to the colon in the middle */
 /* INDENT OFF */		/* extra comment */
 void indent_still_on ( void ) ;	/* due to the extra comment to the right */
+
+/*
+	 * this
+		 * is a boxed
+			 * staircase.
+*
+* Its paragraphs get wrapped.
+
+There may also be
+		lines without asterisks.
+
+ */

Index: src/tests/usr.bin/indent/token-comment.0.stdout
diff -u src/tests/usr.bin/indent/token-comment.0.stdout:1.6 src/tests/usr.bin/indent/token-comment.0.stdout:1.7
--- src/tests/usr.bin/indent/token-comment.0.stdout:1.6	Tue Oct  5 21:01:10 2021
+++ src/tests/usr.bin/indent/token-comment.0.stdout	Fri Oct  8 22:11:26 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: token-comment.0.stdout,v 1.6 2021/10/05 21:01:10 rillig Exp $ */
+/* $NetBSD: token-comment.0.stdout,v 1.7 2021/10/08 22:11:26 rillig Exp $ */
 /* $FreeBSD$ */
 
 /*
@@ -151,3 +151,12 @@ indent_still_on(void);		/* due to the co
 /* INDENT OFF *//* extra comment */
 void
 indent_still_on(void);		/* due to the extra comment to the right */
+
+/*
+ * this is a boxed staircase.
+ *
+ * Its paragraphs get wrapped.
+ *
+ * There may also be lines without asterisks.
+ *
+ */

Reply via email to