diff options
author | Peter Pentchev <roam@ringlet.net> | 2018-05-05 00:10:38 +0300 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-05-10 06:10:40 +0000 |
commit | fb86aa30c2862935fefc5ed64ad6026430237ae2 (patch) | |
tree | 6eb520de47992baece63843725fccba359af1d89 | |
parent | 51cd25c9903d0609086c2d423b01995e517301d6 (diff) | |
download | debhelper-fb86aa30c2862935fefc5ed64ad6026430237ae2.tar.gz |
Test the "whitespace before debhelper-compat" case.
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-x | t/debhelper-compat/syntax.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/debhelper-compat/syntax.t b/t/debhelper-compat/syntax.t index 7dee80fe..9c0987d6 100755 --- a/t/debhelper-compat/syntax.t +++ b/t/debhelper-compat/syntax.t @@ -56,7 +56,7 @@ plan(tests => scalar @levels); for my $level (@levels) { subtest "compat $level" => sub { - plan(tests => 6); + plan(tests => 7); subtest 'only' => sub { test_build_depends($level, "debhelper-compat (= $level)"); }; @@ -72,6 +72,9 @@ for my $level (@levels) { subtest 'second-nl' => sub { test_build_depends($level, "bar,\n debhelper-compat (= $level)"); }; + subtest 'nl-first' => sub { + test_build_depends($level, "\n debhelper-compat (= $level),\n bar"); + }; subtest 'nl-second' => sub { test_build_depends($level, "\n bar,\n debhelper-compat (= $level)"); }; |