Commit graph

6 commits

Author SHA1 Message Date
sharkdp
b7690d4bb1 Undo change in sample.modified.rs 2018-09-12 20:28:21 +02:00
eth-p
503fe0b641
Fix sample.modified.rs 2018-09-11 15:03:13 -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
d0782ef954 Add line with invalid UTF-8 2018-05-18 16:44:34 +02:00
Ezinwa Okpoechi
0886a24685 Add snapshot testing 2018-05-12 18:07:30 +02:00
Ezinwa Okpoechi
026a9ebae3 Add sample files and snapshot generator 2018-05-12 18:07:30 +02:00