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: demonstrate stray empty l...



details:   https://anonhg.NetBSD.org/src/rev/ff14fa5689be
branches:  trunk
changeset: 1019500:ff14fa5689be
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Mar 12 18:28:07 2021 +0000

description:
tests/indent: demonstrate stray empty line at end-of-file

diffstat:

 tests/usr.bin/indent/comment-line-end.0        |  4 +++-
 tests/usr.bin/indent/comment-line-end.0.stdout |  5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 40a93ed9bc46 -r ff14fa5689be tests/usr.bin/indent/comment-line-end.0
--- a/tests/usr.bin/indent/comment-line-end.0   Fri Mar 12 18:11:50 2021 +0000
+++ b/tests/usr.bin/indent/comment-line-end.0   Fri Mar 12 18:28:07 2021 +0000
@@ -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 @@
 main(void)
 {
 }
+
+// end-of-line comment at the end of the file
diff -r 40a93ed9bc46 -r ff14fa5689be tests/usr.bin/indent/comment-line-end.0.stdout
--- a/tests/usr.bin/indent/comment-line-end.0.stdout    Fri Mar 12 18:11:50 2021 +0000
+++ b/tests/usr.bin/indent/comment-line-end.0.stdout    Fri Mar 12 18:28:07 2021 +0000
@@ -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 @@
 main(void)
 {
 }
+
+// end-of-line comment at the end of the file
+



Home | Main Index | Thread Index | Old Index