diff options
author | Eric Wong <e@80x24.org> | 2023-11-28 17:37:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-29 02:13:30 +0000 |
commit | 7a9587de359122b462bee32871e86bef19916ecf (patch) | |
tree | 243be43a5113c6d59dbfcaffb44a244c573e7170 /t | |
parent | 1aaa1b18a14ab69a3dbd272ee9b20eef350310ae (diff) | |
download | public-inbox-7a9587de359122b462bee32871e86bef19916ecf.tar.gz |
This gets rid of the "\ No newline at end of file" since it's distracting noise.
Diffstat (limited to 't')
-rw-r--r-- | t/lei-mail-diff.t | 1 | ||||
-rw-r--r-- | t/psgi_v2.t | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/t/lei-mail-diff.t b/t/lei-mail-diff.t index 9398596a..1a896e51 100644 --- a/t/lei-mail-diff.t +++ b/t/lei-mail-diff.t @@ -7,6 +7,7 @@ test_lei(sub { ok(!lei('mail-diff', 't/data/0001.patch', 't/data/binary.patch'), 'different messages are different'); like($lei_out, qr/^\+/m, 'diff shown'); + unlike $lei_out, qr/No newline at end of file/; lei_ok('mail-diff', 't/data/0001.patch', 't/data/0001.patch'); is($lei_out, '', 'no output if identical'); }); diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 5ccaab19..54faae9b 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -287,6 +287,7 @@ my $client1 = sub { 'cr_mismatch is only diff context'); like($raw, qr!>\-pipe !s, 'pipe diff del line'); like($raw, qr!>\+pipe !s, 'pipe diff ins line'); + unlike $raw, qr/No newline at end of file/; }; test_psgi(sub { $www->call(@_) }, $client1); |