Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Sun May 14 17:53:38 2023 UTC (11 months ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +22 -25
lines
Diff to previous 1.10 (colored)
indent: fix handling of multiple block comments in a line
Revision 1.10 / (download) - annotate - [select for diffs], Sun May 14 17:13:37 2023 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.9: +4 -4
lines
Diff to previous 1.9 (colored)
indent: in comments, keep a leading tab This kind of comments is used for the CVS IDs at the top of files.
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 13 16:40:18 2023 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
indent: do not add a space before a comment that starts a line
Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 24 09:04:12 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Changes since 1.7: +23 -23
lines
Diff to previous 1.7 (colored)
tests/indent: change directive from '#' to '//' Using a '//' instead of '#' turns the directives into well-formed C code, resulting in fewer error markers in the editor.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 22 21:21:20 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +1 -2
lines
Diff to previous 1.6 (colored)
indent: remove FreeBSD IDs Most of the IDs were empty anyway.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 25 20:44:10 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.5: +8 -5
lines
Diff to previous 1.5 (colored)
indent: fix accidentally joined and broken comments (since 2019-04-04) The fixed version is not perfect as it gets the indentation of the last line of the first comment wrong, but at least indent doesn't generate malformed output anymore.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 20 16:54:17 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.4: +8 -7
lines
Diff to previous 1.4 (colored)
tests/indent: clean up and extend tests
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 18 07:11:31 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.3: +3 -16
lines
Diff to previous 1.3 (colored)
tests/indent: merge duplicate input/output and output/output No functional change.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 16 21:32:10 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.2: +68 -39
lines
Diff to previous 1.2 (colored)
tests/lint: document and extend the tests for options
Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 16 05:40:17 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.1: +1 -37
lines
Diff to previous 1.1 (colored)
tests/indent: remove duplicate data from options tests
Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 16 03:20:13 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
tests/indent: condense tests for bool options Previously, each bool option such as '-bacc/-nbacc' had 6 test files: input, options, output for the positive and negative option. Splitting this test data into separate files made it harder than necessary to quickly compare the test output from '-bacc' with that of '-nbacc'. Have a single test for the positive and negative option, allowing several tests to run on the same input with different options. This commit only contains the rather mechanic changes of concatenating the previous test files and inserting the '#indent' directives, which are documented in t_options.sh. Removing duplicate input sections, as well as other cleanups will follow soon. No functional change.