summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-24 18:55:04 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-24 19:04:50 +0300
commit79c8df044deafe4463bedd7f87571d2ac1ba48ba (patch)
treec26484d0275de3a74552a6c7cc57b7455e5ca5c0 /subplot.yaml
parente889ebdef94434109e63847e39d0c979569c44c0 (diff)
downloadsubplot-79c8df044deafe4463bedd7f87571d2ac1ba48ba.tar.gz
test: add scenarios to verify newline adding to embedded files
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml10
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