Commit Graph

7 Commits (64cbfbed470926c7ed18521da3081797d1b7633d)

Author SHA1 Message Date
Tom Milligan aa4000cb0d
style: add component 'rule' for horizontal file delimiter 4 years ago
sharkdp cbed338c3a Remove generation code for tabs_ tests 6 years ago
sharkdp b4c6e412dc Make generate_snapshots script 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
Ezinwa Okpoechi 2ce8655167 Build bat before generating snapshots 6 years ago
Ezinwa Okpoechi 026a9ebae3 Add sample files and snapshot generator 6 years ago