Module Name: src
Committed By: rillig
Date: Sun Nov 7 18:38:35 UTC 2021
Modified Files:
src/tests/usr.bin/indent: token_form_feed.c
Log Message:
tests/indent: fix test for form feed
Previously, I had written a vertical tab instead of a form feed, which
had a different effect.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/indent/token_form_feed.c
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_form_feed.c
diff -u src/tests/usr.bin/indent/token_form_feed.c:1.1 src/tests/usr.bin/indent/token_form_feed.c:1.2
--- src/tests/usr.bin/indent/token_form_feed.c:1.1 Mon Oct 18 22:30:34 2021
+++ src/tests/usr.bin/indent/token_form_feed.c Sun Nov 7 18:38:34 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: token_form_feed.c,v 1.1 2021/10/18 22:30:34 rillig Exp $ */
+/* $NetBSD: token_form_feed.c,v 1.2 2021/11/07 18:38:34 rillig Exp $ */
/* $FreeBSD$ */
/*
@@ -7,8 +7,15 @@
#indent input
void function_1(void);
-
+
void function_2(void);
#indent end
-#indent run-equals-input -di0
+#indent run -di0
+void function_1(void);
+
+/* $ XXX: The form feed is not preserved. */
+/* $ XXX: Why 2 empty lines? */
+
+void function_2(void);
+#indent end