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.
2020-12-19 10:32:50 +01:00
..
benchmarks Add change dir to script dir to allow running from project root dir 2020-10-04 19:35:32 +02:00
examples Revert "Add cycle detection integration tests" 2020-11-24 21:40:11 +01:00
scripts Add a way to directly search for a pattern 2020-04-12 19:19:33 +02:00
snapshots style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
syntax-tests Don't add artificial newline to last line if --style=plain 2020-12-19 10:32:50 +01:00
.gitattributes Remove gitattributes for .bat/.cmd files to make all testfiles eol=lf 2020-10-09 23:28:08 +02:00
assets.rs Ignore 'all_themes_are_present' unit test by default 2020-10-25 08:18:55 +01:00
integration_tests.rs Revert "Add cycle detection integration tests" 2020-11-24 21:40:11 +01:00
no_duplicate_extensions.rs Code formatting 2020-09-20 20:47:21 +02:00
snapshot_tests.rs style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
tester.rs Strip dependencies of bat-as-a-library 2020-03-31 09:27:56 +02:00