Daniel Wolbach
8832a96e82
add GLSL syntax highlighting test
4 years ago
R1tschY
09631ed119
Add Batch syntax test
4 years ago
Spencer Williams
9257c7ce20
Regenerate using a fresh latest build of bat
4 years ago
Spencer Williams
b30f9a1677
Add sample Crystal file
4 years ago
Felipe Garcia
e6c3f96931
Add Groovy syntax test.
4 years ago
Felipe Garcia
85ff81f238
Add Lua syntax test.
4 years ago
Thiago Arrais
aa205c6a9f
Add CSV syntax hightlighting test
4 years ago
scott.eppler
44bfad24a1
Add Terraform example file for Syntax Highlighting
4 years ago
Gede Wahyu
13e01841ca
pascal: add syntax highlight file
4 years ago
sharkdp
a999975bc9
Add missing newline
4 years ago
Matthew Zegar
edf30e1fa1
Added missing highlighted generated test file
4 years ago
Matthew Zegar
f41bf2082a
Added CSS syntax highlight file and folder
4 years ago
Ethan P
894d3f1722
Replace SCSS example with unlicensed one
4 years ago
Ethan P
83d96e2bbb
Rename SASS tests to SCSS, since they're using SCSS syntax
4 years ago
Ethan P
e26ec31463
Add option to specify exact binary in run-benchmarks.sh
4 years ago
Ethan P
e3bc41dbe6
Add option to specify bat target in run-benchmarks.sh
4 years ago
uabua
7a180e22ff
Add SQL syntax highlighting test
4 years ago
scott.eppler
e85064e4cf
Fix mismatch between syntax-test and hightlighted
...
I needed to re-run `update.sh` script one last time.
4 years ago
scott.eppler
dd95f8b5cb
Add example file for YAML highlighting
...
Relates to #1213
4 years ago
Niklas Sombert
975487f630
Add syntax highlighting test file for INI ( #1213 )
4 years ago
Akshat Gadhwal
c92ac809a5
added test.dart
4 years ago
DanielVip3
ec842e8d51
Added a JavaScript test file
4 years ago
henil
6d6e3900c3
add LICENSE
4 years ago
henil
0516a0d7a6
add .gitignore test
4 years ago
henil
adbbe158db
forgot to update highlighted file after changing
4 years ago
henil
6d2be4a305
License attribution not required
4 years ago
henil
78c9a5d45b
add julia test file
4 years ago
Mithil Poojary
5fa1645165
Add Java file test
4 years ago
sharkdp
bbf6ec0458
Try to fix syntax-detection tests on Windows
4 years ago
Mithil Poojary
e58b20f68d
Add C file test
4 years ago
Logan Saso
0ce697daba
#1241 Added newline to end of example.xml
4 years ago
Logan Saso
a2dfadc6c8
#1213 Added example xml file
4 years ago
Mithil Poojary
6df8b3fe72
Print error message if bat not found on path
4 years ago
Mithil Poojary
b623adc6df
Add Cpp file test
4 years ago
Matthias Reitinger
2f77da7813
Add /etc/passwd syntax test file
4 years ago
Jonatas
9897c99190
Haskell highligth test
4 years ago
Giorgi Beriashvili
aebc30447f
Add TeX syntax highlighting test files
4 years ago
Giorgi Beriashvili
d2bae54ed0
Add C-Sharp (C#) syntax highlighting test files
4 years ago
Logan Saso
501c369f39
#1213 Added example Markdown file
4 years ago
Filip Czaplicki
db3468a815
test: ARM Assembly syntax test file
4 years ago
Filip Czaplicki
3aabed44ce
test: Kotlin syntax test file
4 years ago
Ethan P
3af7a6b082
Merge pull request #1226 from mdevlamynck/fix-scripts
...
Shell script improvements
4 years ago
Daniil Baturin
2e985198c6
Add a protobuf syntax sample.
4 years ago
Celeo
74a2ef8138
test: add Jinja2 syntax test file
4 years ago
Daniil Baturin
88ea21b276
Add an SML syntax test file.
4 years ago
Michael
62397dbd0b
test: add newline to JSON syntax source file
4 years ago
Michael
317b086f66
test: add json highlight test
4 years ago
Matthias Devlamynck
12340c1d10
Add change dir to script dir to allow running from project root dir
4 years ago
parksb
e747199711
Generate highlighted file on latest version
4 years ago
parksb
df7ce883c7
Add texts indicating source to LICENSE.md
4 years ago
parksb
eb3e2dca24
Add basic typescript test file
4 years ago
Michael
2d9b936b0a
test: add asciidoc highlight test
4 years ago
Matthias Devlamynck
66c7aca2f6
Add elm syntax regression test
4 years ago
Nick Anthony Flueckiger
0c3344d0c4
Add a ruby source code syntax test with source and output
4 years ago
Quang Le
5d490664ca
fix: update original file in license
4 years ago
Quang Le
d170dd305d
Add scala code highlight test
4 years ago
Matthias Devlamynck
b50bd58795
Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available
4 years ago
David Peter
1da279a290
Add link to original source
4 years ago
Quang Le
100b9a470b
test: add go highlight test
4 years ago
Daniil Baturin
43c2b36eaa
Make tests/syntax-tests/update.sh shell script executable.
4 years ago
Daniil Baturin
203d0bd8ae
Add an OCaml file for syntax tests.
4 years ago
Ethan P
96151c44aa
Add a batgrep as Bash script syntax tests
4 years ago
Ethan P
02dcb01120
Add a simple Bash script for syntax tests
4 years ago
Ethan P
51d25e5859
Fix syntax highlighting test update.sh to work on Mac OS
4 years ago
José Eduardo
29b6ba0758
Added Elixir file example
4 years ago
adgai19
ca5793dbea
Added Basic python test file
4 years ago
sharkdp
1ecb70e082
Update email syntax output
4 years ago
sharkdp
9eed16beb4
Add Email example code
4 years ago
sharkdp
5efc0033a1
Add updated, highlighted output
4 years ago
sharkdp
c9237cccab
Add AWK file for syntax tests
4 years ago
sharkdp
89b62d579f
Add update script
4 years ago
sharkdp
436a16aba6
Add syntax test for /etc/fstab
4 years ago
sharkdp
71b2089384
Code formatting
4 years ago
sharkdp
c3f85c8372
Add Less file for syntax tests
4 years ago
sharkdp
7f5d6d9791
Add SASS file for syntax tests
4 years ago
sharkdp
cbe68ba84c
Make sure that environment is properly set up
4 years ago
sharkdp
4b012de7db
Make test script executable
4 years ago
sharkdp
02a89d8ee8
Add comparison script
4 years ago
sharkdp
a70efae79b
Add proper CLI
4 years ago
sharkdp
78a681f027
Initial version of syntax regression tests
4 years ago
sharkdp
2ffbe08eb1
Add base16-256 theme to unit test
4 years ago
Dash Peters
6faf61552e
Fix integration test
4 years ago
Dash Peters
f53ea60ed4
Merge remote-tracking branch 'sharkdp/master'
4 years ago
David Peter
3a62e3d188
Merge pull request #1066 from gsomix/feature/1061-show-all-redirected
...
Enable non-printable characters for redirected output
4 years ago
Evgeniy Andreev (gsomix)
3c5ce9f86c
Enable non-printable chars for redirected output ( #1061 )
4 years ago
David Peter
2461d22212
Add new themes to unit test
...
Branch: add_gruvbox_theme
4 years ago
Dash Peters
bfac6fd85c
Add integration tests
4 years ago
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
sharkdp
c6a526f99c
Run 'cargo run' only once
6 years ago
sharkdp
278d841408
Move '--paging' arg to config file.
6 years ago
sharkdp
5f576f1ecf
Remove all relevant environment variables during testing
6 years ago
sharkdp
48c6ea6b25
Simplify integration test setup
6 years ago
Ricky
558134f6c8
Changed to unwrap methods, added integration tests
6 years ago
sharkdp
cbed338c3a
Remove generation code for tabs_ tests
6 years ago
sharkdp
d96ee2261f
Remove tab-related text
6 years ago
sharkdp
496e0bc046
Allow for multiple line ranges
...
See #23
6 years ago
sharkdp
f7d9f49503
Remove leftovers from tab-tests
6 years ago
Lawrence Chou
88fcfd76aa
cargo fmt
6 years ago
Lawrence Chou
76e34b29ec
Avoid empty line in snapshot
6 years ago
Lawrence Chou
01984e1d02
Test 'tabs' with 'numbers'
6 years ago
Lawrence Chou
536390509f
remove --wrap for now
6 years ago