Commit Graph

5 Commits (d404139ff7484d6dbf8dbe57ec21b3b4a4176801)

Author SHA1 Message Date
eth-p 503fe0b641
Fix sample.modified.rs 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 d0782ef954 Add line with invalid UTF-8 6 years ago
Ezinwa Okpoechi 0886a24685 Add snapshot testing 6 years ago
Ezinwa Okpoechi 026a9ebae3 Add sample files and snapshot generator 6 years ago