2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-04 18:00:24 +00:00
bat/tests
Martin Nordholts dd0d44bbb3 Fix #1413 Can't use bat at all! (Error: Use of bat as a pager is disallowed...)
Fixed by implementing the proposal by sharkdp:

* Allow PAGER=bat, but ignore the setting in bat and simply default to
  less. Unless of course, BAT_PAGER or --pager is used to overwrite the
  value of PAGER.

* Disallow the usage of bat within BAT_PAGER and --pager.
2021-01-11 21:56:10 +01:00
..
benchmarks Merge branch 'master' into improved-benchmark 2021-01-02 21:35:58 -08:00
examples Add integration tests for clircle cycle detection 2021-01-05 18:21:16 +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 Add gnuplot syntax 2021-01-09 22:35:50 +01:00
utils tests: Move 'mocked pagers' utils to separate file 2021-01-10 14:05:39 +01:00
.gitattributes Remove gitattributes for .bat/.cmd files to make all testfiles eol=lf 2020-10-09 23:28:08 +02:00
assets.rs Use unstable sort for theme test 2021-01-09 19:43:39 +01:00
integration_tests.rs Fix #1413 Can't use bat at all! (Error: Use of bat as a pager is disallowed...) 2021-01-11 21:56:10 +01:00
no_duplicate_extensions.rs Code formatting 2020-09-20 20:47:21 +02:00
snapshot_tests.rs Use BatTester::default instead of BatTester::new 2021-01-09 19:43:39 +01:00
tester.rs Use BatTester::default instead of BatTester::new 2021-01-09 19:43:39 +01:00