bat/tests
cyqsimon 14ddda0a8b
Recognize files in $XDG_CONFIG_HOME/git/ and $HOME/.config/git/ better (#2067)
* git global config - lookup $XDG_CONFIG_HOME faithfully

* Use `bool::then`

* Cover both `$XDG_CONFIG_HOME` & `$HOME/.config`

* Remove unused import

* Global git config tests

* Added trailing newline

* Fix git config test

* Wrote to changelog

* Revert change of `Result::ok` to `Result::unwrap`

* Apply suggestions from code review

Co-authored-by: Martin Nordholts <enselic@gmail.com>

* Guard against empty `$HOME`

Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-02-26 17:01:00 +01:00
..
benchmarks Add new --style called header-filesize and display it by default (#1988) 2022-02-07 20:48:57 +01:00
examples Recognize files in $XDG_CONFIG_HOME/git/ and $HOME/.config/git/ better (#2067) 2022-02-26 17:01:00 +01:00
mocked-pagers tests: Make mocked pagers work on Windows 2021-01-04 20:22:04 +01:00
scripts CICD: Add check for accidental inclusion of GPL:ed code 2021-11-28 21:04:37 +01:00
snapshots Add new --style called header-filesize and display it by default (#1988) 2022-02-07 20:48:57 +01:00
syntax-tests Add JQ syntax highlighting 2022-02-14 19:14:19 +01: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 Recognize files in $XDG_CONFIG_HOME/git/ and $HOME/.config/git/ better (#2067) 2022-02-26 17:01:00 +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