Commit Graph

16 Commits (89539ff247019a000f4c29ed8eed66da2bb6f0a6)

Author SHA1 Message Date
Caden Haustein 573f34d757
Update dependencies; replace unmaintained (#1522)
* Update dependencies; replace unmaintained

* Fix errors

* Revert dependency changes

* Revert git2 to 0.13.15

Co-authored-by: David Peter <mail@david-peter.de>
3 years ago
sharkdp 73d14f4655 Use BatTester::default instead of BatTester::new 4 years ago
David Tolnay 570805bc98 Strip dependencies of bat-as-a-library 4 years ago
sharkdp f7d9f49503 Remove leftovers from tab-tests 6 years ago
sharkdp 495e7fd3b1 Add --no-config option 6 years ago
sharkdp 80da0dc619 run cargo fmt 6 years ago
sharkdp a05494e9d9 Make tests more robust 6 years ago
eth-p c1e1f753cf
Added three new snapshot tests for --tabs and --wrap. 6 years ago
eth-p 9159341714
Modified snapshot tests to support tab expansion.
This changes how the files are named (to allow for snapshots that aren't
directly related to the --style argument) and fixes the
generate_snapshots.py script to work with the latest version of bat.

Three new tests are also introduced:
- tabs_4 - Tab expansion with a width of 4.
- tabs_8 - Tab expansion with a width of 8.
- tabs_passthrough - No tab expansion.
6 years ago
sharkdp a6ff3b900d Fix terminal width to 80 characters in tests 6 years ago
sharkdp 226d9a573a Add simple loop-through mode
Use a loop-through mode that simply copies input to output if a
non-interactive terminal is detected.

see #150
6 years ago
sharkdp 5b421b455d Update dependencies 6 years ago
sharkdp c9f7a0c126 Use separate Git repository for snapshot testing
closes #161
6 years ago
sharkdp 86c1777205 Skip snapshot test if Git is not available
closes #161
6 years ago
sharkdp 15b9acd12f Updates for new rustfmt 6 years ago
Ezinwa Okpoechi 0886a24685 Add snapshot testing 6 years ago