diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-24 18:55:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-24 19:04:50 +0300 |
commit | 79c8df044deafe4463bedd7f87571d2ac1ba48ba (patch) | |
tree | c26484d0275de3a74552a6c7cc57b7455e5ca5c0 /subplot.yaml | |
parent | e889ebdef94434109e63847e39d0c979569c44c0 (diff) | |
download | subplot-79c8df044deafe4463bedd7f87571d2ac1ba48ba.tar.gz |
test: add scenarios to verify newline adding to embedded files
Diffstat (limited to 'subplot.yaml')
-rw-r--r-- | subplot.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml index da84a7d..84e52e4 100644 --- a/subplot.yaml +++ b/subplot.yaml @@ -55,5 +55,15 @@ function: cleanup_was_not_run regex: true + - then: JSON output matches {filename} function: json_output_matches_file + +- then: "{filename} does not end in a newline" + function: file_ends_in_zero_newlines + +- then: "{filename} ends in one newline" + function: file_ends_in_one_newline + +- then: "{filename} ends in two newlines" + function: file_ends_in_two_newlines |