Commit Graph

82 Commits

Author SHA1 Message Date
sharkdp
03c2281828 Add do-not-panic! regression tests 2020-04-21 11:50:26 +02:00
Kyle Criddle
59f2e2d58d Implemented --file-name for multiple files + tests 2020-03-24 18:26:00 -06:00
Kyle Criddle
cfa2cb6ec7 --file-name for normal files. integration tests. 2020-03-19 20:46:19 -06:00
sharkdp
b1183f72a5 Update to new assert_cmd 2020-03-09 21:30:46 +01:00
sharkdp
ca066bf7cd Run 'cargo fmt' 2020-02-28 10:27:06 +01:00
Kogia-sima
60f48a0c91 Update test data
Avoid using existing text
2020-02-28 09:06:51 +01:00
Kogia-sima
22ded00824 Add test for unicode wrapping 2020-02-28 09:06:51 +01:00
Ethan P
2dac1c8785 Add @sharkdp's regression test for #798 2020-02-28 07:56:24 +01:00
sharkdp
f5d359927a Fix 'bat cache other-arg', closes #666 2019-09-21 09:10:12 +02:00
sharkdp
2e71146801 Fix another instance of the 'bat cache' bug, closes #584 2019-08-31 14:13:36 +02:00
sharkdp
f3824bad17 Add explicit terminal width for test 2019-08-31 13:46:48 +02:00
sharkdp
3a75d85b80 Add test for 'snip' feature 2019-08-31 13:46:48 +02:00
sharkdp
72152296c7 Fix accidental printing of files named 'cache'
This also adds two regression tests, so this will hopefully not pop up
again.

closes #557
2019-05-10 17:55:46 -05:00
sharkdp
fa3244f7c1 Add test for UTF-16LE encoding 2019-02-10 10:18:07 +01:00
sharkdp
906774e6d3 Integration tests for single-line files 2019-02-10 10:18:07 +01:00
Reid Wagner
cec9cc073c Add integration tests running bat with empty input files. 2019-02-08 23:30:33 +01:00
sharkdp
c6a526f99c Run 'cargo run' only once 2018-11-04 12:24:56 +01:00
sharkdp
278d841408 Move '--paging' arg to config file. 2018-11-04 11:19:49 +01:00
sharkdp
5f576f1ecf Remove all relevant environment variables during testing 2018-11-04 11:19:49 +01:00
sharkdp
48c6ea6b25 Simplify integration test setup 2018-11-04 11:19:49 +01:00
Ricky
558134f6c8 Changed to unwrap methods, added integration tests 2018-11-04 11:19:49 +01:00
sharkdp
496e0bc046 Allow for multiple line ranges
See #23
2018-10-20 10:44:13 +02:00
Lawrence Chou
88fcfd76aa cargo fmt 2018-10-19 21:04:46 +02:00
Lawrence Chou
76e34b29ec Avoid empty line in snapshot 2018-10-19 21:04:46 +02:00
Lawrence Chou
01984e1d02 Test 'tabs' with 'numbers' 2018-10-19 21:04:46 +02:00
Lawrence Chou
536390509f remove --wrap for now 2018-10-19 21:04:46 +02:00
Lawrence Chou
58198d0700 rewrite 6 snapshot tests as integration test 2018-10-19 21:04:46 +02:00
Lawrence Chou
afc5aacb28 Move tabs_* snapshot tests to integration_tests 2018-10-19 21:04:46 +02:00
sharkdp
2c7087b8de Add integration tests for pager handling 2018-10-17 21:08:32 +02:00
sharkdp
495e7fd3b1 Add --no-config option 2018-10-16 22:09:15 +02:00
sharkdp
278bde5cee Continue with output after "is directory"-error 2018-10-11 21:54:19 +02:00
sharkdp
1891e194b5 Add simple integration tests 2018-10-11 07:06:13 +02:00