Commit Graph

13 Commits (b63f31e15debd30e2ede6cc59cbe39e7c6792c5a)

Author SHA1 Message Date
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