Module Name: src
Committed By: rillig
Date: Fri Mar 12 18:28:08 UTC 2021
Modified Files:
src/tests/usr.bin/indent: comment-line-end.0 comment-line-end.0.stdout
Log Message:
tests/indent: demonstrate stray empty line at end-of-file
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/indent/comment-line-end.0 \
src/tests/usr.bin/indent/comment-line-end.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/comment-line-end.0
diff -u src/tests/usr.bin/indent/comment-line-end.0:1.4 src/tests/usr.bin/indent/comment-line-end.0:1.5
--- src/tests/usr.bin/indent/comment-line-end.0:1.4 Sun Mar 7 22:11:01 2021
+++ src/tests/usr.bin/indent/comment-line-end.0 Fri Mar 12 18:28:07 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: comment-line-end.0,v 1.4 2021/03/07 22:11:01 rillig Exp $ */
+/* $NetBSD: comment-line-end.0,v 1.5 2021/03/12 18:28:07 rillig Exp $ */
/* $FreeBSD$ */
/*
@@ -26,3 +26,5 @@ int
main(void)
{
}
+
+// end-of-line comment at the end of the file
Index: src/tests/usr.bin/indent/comment-line-end.0.stdout
diff -u src/tests/usr.bin/indent/comment-line-end.0.stdout:1.4 src/tests/usr.bin/indent/comment-line-end.0.stdout:1.5
--- src/tests/usr.bin/indent/comment-line-end.0.stdout:1.4 Sun Mar 7 22:11:01 2021
+++ src/tests/usr.bin/indent/comment-line-end.0.stdout Fri Mar 12 18:28:07 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: comment-line-end.0.stdout,v 1.4 2021/03/07 22:11:01 rillig Exp $ */
+/* $NetBSD: comment-line-end.0.stdout,v 1.5 2021/03/12 18:28:07 rillig Exp $ */
/* $FreeBSD$ */
/*
@@ -29,3 +29,6 @@ int
main(void)
{
}
+
+// end-of-line comment at the end of the file
+