Commit Graph

5 Commits

Author SHA1 Message Date
sharkdp
b4c6e412dc Make generate_snapshots script more robust 2018-09-12 20:28:42 +02:00
eth-p
c1e1f753cf
Added three new snapshot tests for --tabs and --wrap. 2018-09-11 13:47:01 -07:00
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.
2018-09-10 19:19:43 -07:00
Ezinwa Okpoechi
2ce8655167 Build bat before generating snapshots 2018-05-24 19:10:24 +02:00
Ezinwa Okpoechi
026a9ebae3 Add sample files and snapshot generator 2018-05-12 18:07:30 +02:00