Commit Graph

8 Commits (b7690d4bb187ab04cd581cc4097f771498220531)

Author SHA1 Message Date
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 0b1535f63b Split snapshot tests into individual tests 6 years ago
sharkdp 0a5b3eaf3e Re-enable tests on windows 6 years ago
anykao 35a1236ad0 Update tests.rs 6 years ago
sharkdp c91511cca1 Always run snapshot test 6 years ago
sharkdp 86c1777205 Skip snapshot test if Git is not available
closes #161
6 years ago
Ezinwa Okpoechi 0886a24685 Add snapshot testing 6 years ago