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/aad783e01a8c
branches: trunk
changeset: 960241:aad783e01a8c
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 54eb64c477bf -r aad783e01a8c 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 54eb64c477bf -r aad783e01a8c 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