2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-08 19:10:41 +00:00
bat/tests/examples
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
..
git Recognize files in $XDG_CONFIG_HOME/git/ and $HOME/.config/git/ better (#2067) 2022-02-26 17:01:00 +01:00
regression_tests Simplify HighlightingAssets::get_syntax() first_line logic (#1852) 2021-09-16 17:01:12 +02:00
sub_directory Add simple integration tests 2018-10-11 07:06:13 +02:00
bat.conf Tests ~ revert to echo (after fixed 'windows' pager process execution) 2020-06-03 09:13:47 +02:00
cache Fix accidental printing of files named 'cache' 2019-05-10 17:55:46 -05:00
cache.c Fix another instance of the 'bat cache' bug, closes #584 2019-08-31 14:13:36 +02:00
empty.txt Add integration tests running bat with empty input files. 2019-02-08 23:30:33 +01:00
multiline.txt Add simple integration tests 2018-10-11 07:06:13 +02:00
nonprintable.txt Enable non-printable chars for redirected output (#1061) 2020-07-02 09:36:58 +04:00
single-line.txt Integration tests for single-line files 2019-02-10 10:18:07 +01:00
tabs.txt Avoid empty line in snapshot 2018-10-19 21:04:46 +02:00
test_UTF-16LE.txt Add test for UTF-16LE encoding 2019-02-10 10:18:07 +01:00
test.binary --file-name for normal files. integration tests. 2020-03-19 20:46:19 -06:00
test.json.suffix Support for ignored-suffix CLI arguments (#1892) 2021-11-19 17:05:23 +01:00
test.json~ Support for ignored-suffix CLI arguments (#1892) 2021-11-19 17:05:23 +01:00
test.txt Add simple integration tests 2018-10-11 07:06:13 +02:00
unicode-wrap.txt Update test data 2020-02-28 09:06:51 +01:00