Commit graph

21 commits

Author SHA1 Message Date
Ethan P
21821f1d4c Updated snapshot tests 2019-07-26 06:51:33 +02:00
sharkdp
cbed338c3a Remove generation code for tabs_ tests 2018-11-01 15:30:58 +01:00
sharkdp
d96ee2261f Remove tab-related text 2018-11-01 15:30:58 +01:00
Lawrence Chou
58198d0700 rewrite 6 snapshot tests as integration test 2018-10-19 21:04:46 +02:00
sharkdp
b4c6e412dc Make generate_snapshots script more robust 2018-09-12 20:28:42 +02:00
sharkdp
3e21d69a92 Re-generate files again 2018-09-12 20:28:30 +02:00
sharkdp
b7690d4bb1 Undo change in sample.modified.rs 2018-09-12 20:28:21 +02:00
eth-p
9ef1e9f792
Update snapshots. 2018-09-11 15:04:44 -07:00
eth-p
503fe0b641
Fix sample.modified.rs 2018-09-11 15:03:13 -07:00
eth-p
c1e1f753cf
Added three new snapshot tests for --tabs and --wrap. 2018-09-11 13:47:01 -07:00
eth-p
7cdcdbb31d
Updated snapshots. 2018-09-10 19:20:09 -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
a452467e06 Remove unnecessary space if there are no decorations 2018-05-24 19:10:24 +02:00
Ezinwa Okpoechi
2ea3758c4b Justify header when there are decorations but no grid 2018-05-24 19:10:24 +02:00
Ezinwa Okpoechi
882931a77b Update snapshots 2018-05-18 16:44:34 +02:00
Ezinwa Okpoechi
d0782ef954 Add line with invalid UTF-8 2018-05-18 16:44:34 +02:00
eth-p
9f005d115d
Update snapshot test files. 2018-05-12 14:04:54 -07:00
Ezinwa Okpoechi
0886a24685 Add snapshot testing 2018-05-12 18:07:30 +02:00
Ezinwa Okpoechi
53eb9c57d6 Add generated snapshots 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