You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/tests
Martin Nordholts 49875d6ce7
Make `bat::PrettyPrinter::syntaxes()` iterate over new `bat::Syntax` struct (#2222)
We can't keep `syntect::parsing::SyntaxReference` as part of the public
API, because that might prevent us from bumping to syntect 6.0.0 without
also bumping bat to v2.0.0, once we reach v1.0.0.

So introduce a new stripped down struct `Syntax` and return that
instead. Let it be fully owned to make the API simple. It is not going
to be in a hot code path anyway.

I have looked at all code of our 27 dependents but I can't find a single
instance of this method being used, so this change should be safe for
v1.0.0.
2 years ago
..
benchmarks Add new `--style` called `header-filesize` and display it by default (#1988) 2 years ago
examples Make --map-syntax and --ignored-suffix work together (#2260) 2 years ago
mocked-pagers tests: Make mocked pagers work on Windows 4 years ago
scripts Fix typos 2 years ago
snapshots Add new `--style` called `header-filesize` and display it by default (#1988) 2 years ago
syntax-tests Color `fstab` dump and pass fields correctly (#2246) 2 years ago
tester tests/tester: Do not build as tests 2 years ago
utils tests: Move 'mocked pagers' utils to separate file 4 years ago
.gitattributes Modify Linguist overrides 3 years ago
assets.rs Add "Visual Studio Dark+" theme to vec of themes 3 years ago
integration_tests.rs Remove code that tries to handle ANSI escape inputs (#2189) 2 years ago
no_duplicate_extensions.rs HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable 3 years ago
snapshot_tests.rs CI: Check MSRV without git feature enabled 2 years ago
test_pretty_printer.rs Make `bat::PrettyPrinter::syntaxes()` iterate over new `bat::Syntax` struct (#2222) 2 years ago