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 missing space...



details:   https://anonhg.NetBSD.org/src/rev/b44363b31552
branches:  trunk
changeset: 1023808:b44363b31552
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Sep 26 18:42:46 2021 +0000

description:
tests/indent: demonstrate missing space before ellipsis

diffstat:

 tests/usr.bin/indent/declarations.0        |  7 ++++++-
 tests/usr.bin/indent/declarations.0.stdout |  8 +++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 597adafb052a -r b44363b31552 tests/usr.bin/indent/declarations.0
--- a/tests/usr.bin/indent/declarations.0       Sun Sep 26 18:13:58 2021 +0000
+++ b/tests/usr.bin/indent/declarations.0       Sun Sep 26 18:42:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: declarations.0,v 1.3 2021/09/25 13:04:55 rillig Exp $  */
+/*     $NetBSD: declarations.0,v 1.4 2021/09/26 18:42:46 rillig Exp $  */
 /* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */
 /* See r303570 */
 
@@ -128,3 +128,8 @@
 };
 };
 };
+
+int
+my_printf(const char *fmt, ...)
+{
+}
diff -r 597adafb052a -r b44363b31552 tests/usr.bin/indent/declarations.0.stdout
--- a/tests/usr.bin/indent/declarations.0.stdout        Sun Sep 26 18:13:58 2021 +0000
+++ b/tests/usr.bin/indent/declarations.0.stdout        Sun Sep 26 18:42:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: declarations.0.stdout,v 1.2 2021/09/25 13:04:55 rillig Exp $   */
+/*     $NetBSD: declarations.0.stdout,v 1.3 2021/09/26 18:42:46 rillig Exp $   */
 /* $FreeBSD: head/usr.bin/indent/tests/declarations.0.stdout 334480 2018-06-01 09:58:44Z pstef $ */
 /* See r303570 */
 
@@ -122,3 +122,9 @@
                };
        };
 };
+
+int
+/* $ FIXME: There must be a space before the ellipsis. */
+my_printf(const char *fmt,...)
+{
+}



Home | Main Index | Thread Index | Old Index