Module Name: src Committed By: rillig Date: Sat Oct 30 12:28:42 UTC 2021
Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: test preserving the internal layout of box comments To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/usr.bin/indent/token_comment.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_comment.c diff -u src/tests/usr.bin/indent/token_comment.c:1.10 src/tests/usr.bin/indent/token_comment.c:1.11 --- src/tests/usr.bin/indent/token_comment.c:1.10 Sat Oct 30 12:24:03 2021 +++ src/tests/usr.bin/indent/token_comment.c Sat Oct 30 12:28:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: token_comment.c,v 1.10 2021/10/30 12:24:03 rillig Exp $ */ +/* $NetBSD: token_comment.c,v 1.11 2021/10/30 12:28:42 rillig Exp $ */ /* $FreeBSD$ */ /* @@ -217,12 +217,20 @@ int decl; /*-fixed comment * preserved since the second line already starts in column 1. */ #indent input -int decl; /*-fixed comment +int decl; /*-|fixed comment + | minus 12 | + | tabs inside | + |---| +|-----------| tab1+++ tab2--- tab3+++ tab4--- tab5+++ tab6--- tab7+++fixed comment*/ #indent end #indent run -di0 -int decl; /*-fixed comment +int decl; /*-|fixed comment + | minus 12 | +| tabs inside | +|---| +|-----------| tab1+++ tab2--- tab3+++ tab4--- tab5+++ tab6--- tab7+++fixed comment*/ #indent end