Caio Alonso
fc121f0c87
Defaults *.fs to F#
4 years ago
Roy Ivy III
92e93682c6
Revert f8ed8aa7
(add test instrumentation to help understand failing tests) per PR feedback/owner request
...
- reverts commit f8ed8aa74b
4 years ago
Roy Ivy III
4840c7cd78
Tests ~ add predicate normalization for tests using `echo`
4 years ago
Roy Ivy III
71ab4a2058
Tests ~ revert to `echo` (after fixed 'windows' pager process execution)
4 years ago
Roy Ivy III
0ef792ac1e
Tests ~ (fix) always check out test fixtures with known LF line endings
...
- fixes windows test failures
- avoids `git` platform-dependent conversion of line endings for checkout of test fixtures (*tests/examples/...*)
4 years ago
Roy Ivy III
01af28b781
Tests ~ add instrumentation to visualize text differences in failing tests
4 years ago
Roy Ivy III
3a7743ffc5
Tests ~ `echo` has portability issues; for CI, replace with `printf`
...
- using `echo` on 'windows' platforms requires process execution indirectly via the shell
- `printf` is available on all GHA CI platforms
- `printf` is *not* available on usual 'windows' platforms; so this is just temporizing, awaiting a true fix
4 years ago
sharkdp
9cb43ef64d
Update tests
4 years ago
sharkdp
2ab6474761
Add unit test to make sure we are not missing any themes
4 years ago
sharkdp
d84ac09abd
Update .gitattributes
4 years ago
Ethan P
b8687bc969
Merge branch 'master' of github.com:sharkdp/bat into string-input
4 years ago
Ethan P
9166c9dd35
Remove unnecessary clone in integration tests
4 years ago
Ethan P
82981c9663
Add regression test for detected syntax differing for stdin and files
4 years ago
Prat T
b3373398e8
Remove padding if the header style is not enabled
4 years ago
Prat T
0040fef215
Add padding above headers when no grid
4 years ago
Lzu Tao
e37e9c1214
Fix some clippy lints
...
Some might actually improve perf
5 years ago
sharkdp
26c951fec4
Fix warnings, sort imports, input from string
5 years ago
sharkdp
5449472f15
Remove invalid UTF-8 file from repo, use temp file instead
5 years ago
sharkdp
82e20bfe14
Fix bug for file with invalid-utf8 filenames
5 years ago
sharkdp
03c2281828
Add do-not-panic! regression tests
5 years ago
sharkdp
edd27645d0
Add a way to directly search for a pattern
5 years ago
sharkdp
fc6f4f31dd
Add documentation
5 years ago
sharkdp
f2cef702a0
Add script to find slow-to-highlight files
5 years ago
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
5 years ago
Kyle Criddle
38178fedf4
Merge branch 'master' into fix_654_stdin_filename
5 years ago
Kyle Criddle
59f2e2d58d
Implemented --file-name for multiple files + tests
5 years ago
sharkdp
2c2861db6a
Further simplify module structure
5 years ago
sharkdp
8c500a7e40
Hide get_syntax, move tests to module
5 years ago
sharkdp
62f2d0c100
Do not export syntax_set and theme_set
5 years ago
sharkdp
06b7be7ee9
Major restructuring of theme/syntax handling
5 years ago
Kyle Criddle
cfa2cb6ec7
--file-name for normal files. integration tests.
5 years ago
sharkdp
b611d2aef4
Add no-duplicate-extensions unit test
5 years ago
sharkdp
1bc62cd7b5
Add syntax detection unit tests
5 years ago
sharkdp
b1183f72a5
Update to new assert_cmd
5 years ago
sharkdp
ca066bf7cd
Run 'cargo fmt'
5 years ago
Kogia-sima
60f48a0c91
Update test data
...
Avoid using existing text
5 years ago
Kogia-sima
22ded00824
Add test for unicode wrapping
5 years ago
Ethan P
2dac1c8785
Add @sharkdp's regression test for #798
5 years ago
sharkdp
f5d359927a
Fix 'bat cache other-arg', closes #666
5 years ago
sharkdp
2e71146801
Fix another instance of the 'bat cache' bug, closes #584
5 years ago
sharkdp
f3824bad17
Add explicit terminal width for test
5 years ago
sharkdp
3a75d85b80
Add test for 'snip' feature
5 years ago
Ethan P
21821f1d4c
Updated snapshot tests
5 years ago
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
5 years ago
Daniele Esposti
a21ae614e6
Migrated to Rust 2018
6 years ago
sharkdp
fa3244f7c1
Add test for UTF-16LE encoding
6 years ago
sharkdp
906774e6d3
Integration tests for single-line files
6 years ago
Reid Wagner
cec9cc073c
Add integration tests running bat with empty input files.
6 years ago
sharkdp
a3182e68e4
Update .gitattributes
6 years ago
sharkdp
14e6b41a5f
Add .gitattributes
6 years ago