You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/tests
Martin Nordholts 68d525cd8b Don't add artificial newline to last line if --style=plain
This fixes #1438.

Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:

  bat --style=plain --paging=never no-newline-at-end-of-file.txt

or use a "pager" that does not add a newline:

  bat --style=plain --pager=cat no-newline-at-end-of-file.txt

Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
4 years ago
..
benchmarks Add change dir to script dir to allow running from project root dir 4 years ago
examples Revert "Add cycle detection integration tests" 4 years ago
scripts Add a way to directly search for a pattern 4 years ago
snapshots style: add component 'rule' for horizontal file delimiter 4 years ago
syntax-tests Don't add artificial newline to last line if --style=plain 4 years ago
.gitattributes Remove gitattributes for .bat/.cmd files to make all testfiles eol=lf 4 years ago
assets.rs Ignore 'all_themes_are_present' unit test by default 4 years ago
integration_tests.rs Revert "Add cycle detection integration tests" 4 years ago
no_duplicate_extensions.rs Code formatting 4 years ago
snapshot_tests.rs style: add component 'rule' for horizontal file delimiter 4 years ago
tester.rs Strip dependencies of bat-as-a-library 4 years ago