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/syntax-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
..
highlighted Don't add artificial newline to last line if --style=plain 4 years ago
source Don't add artificial newline to last line if --style=plain 4 years ago
compare_highlighted_versions.py Add comparison script 4 years ago
create_highlighted_versions.py feat: include dotfiles (.) in create_highlighted_versions.py search 4 years ago
regression_test.sh Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available 4 years ago
update.sh Add change dir to script dir to allow running from project root dir 4 years ago