bat/tests
Martin Nordholts 4e34b362f8 Require changes to -h and --help to be blessed
From now on, any changes to the help texts will be visible in PR diffs,
which will make it very easy to review, and very hard to accidentally
miss changes to help texts.

If a contributor makes a change to help texts, the `cargo test` failure
text they will see contains instructions on how to update the blessed
help texts:

    error: expect test failed
       --> ../doc/long-help.txt

    You can update all `expect!` tests by running:

        env UPDATE_EXPECT=1 cargo test

In short, to update blessed help texts, one simply does

    env UPDATE_EXPECT=1 cargo test

Do not run the tests if the `git` feature is missing, since then
`--diff` will be missing from `--help`. And do not run the tests on
Windows, because then the help text will contain the term `.exe`.

Move man page step to after cargo doc step so that the man page exists
when we look for it.
2022-12-30 09:59:52 +01:00
..
benchmarks Add new --style called header-filesize and display it by default (#1988) 2022-02-07 20:48:57 +01:00
examples Add tests for --theme > BAT_THEME > config 2022-11-02 16:48:51 -04:00
mocked-pagers tests: Make mocked pagers work on Windows 2021-01-04 20:22:04 +01:00
scripts Fix typos 2022-06-12 16:38:33 +02:00
snapshots Add new --style called header-filesize and display it by default (#1988) 2022-02-07 20:48:57 +01:00
syntax-tests Merge pull request #2366 from Freed-Wu/vimhelp 2022-11-04 22:07:57 +01:00
tester tests/tester: Do not build as tests 2022-08-25 19:27:55 +02:00
utils Try to fix all warnings 2022-09-04 21:30:14 +02:00
.gitattributes Modify Linguist overrides 2021-06-14 08:36:20 +02:00
assets.rs Add "Visual Studio Dark+" theme to vec of themes 2021-03-24 18:39:06 +05:00
integration_tests.rs Require changes to -h and --help to be blessed 2022-12-30 09:59:52 +01:00
no_duplicate_extensions.rs HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable 2021-07-29 08:26:18 +02:00
snapshot_tests.rs CI: Check MSRV without git feature enabled 2022-08-25 19:27:55 +02:00
system_wide_config.rs Add test for systemwide config file support 2022-03-10 20:55:11 +01:00
test_pretty_printer.rs Make bat::PrettyPrinter::syntaxes() iterate over new bat::Syntax struct (#2222) 2022-09-03 12:33:38 +02:00