bat/tests
Martin Nordholts a81009607a HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
Or rather, introduce new versions of these methods and deprecate the old ones.

This is preparation to enable robust and user-friendly support for lazy-loading.
With lazy-loading, we don't know if the SyntaxSet is valid until after we try to
use it, so wherever we try to use it, we need to return a Result. See discussion
about panics in #1747.
2021-07-29 08:26:18 +02:00
..
benchmarks Merge branch 'master' into improved-benchmark 2021-01-02 21:35:58 -08:00
examples Use tempfiles for clircle tests 2021-02-28 23:04:49 +01:00
mocked-pagers tests: Make mocked pagers work on Windows 2021-01-04 20:22:04 +01:00
scripts Add a way to directly search for a pattern 2020-04-12 19:19:33 +02:00
snapshots style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
syntax-tests Update battest.py 2021-07-26 08:44:05 +02:00
utils tests: Move 'mocked pagers' utils to separate file 2021-01-10 14:05:39 +01: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 Use tempfiles for clircle tests 2021-02-28 23:04:49 +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 Use BatTester::default instead of BatTester::new 2021-01-09 19:43:39 +01:00
tester.rs Update dependencies; replace unmaintained (#1522) 2021-02-16 08:50:41 +01:00