File: fix-tests.patch

package info (click to toggle)
libtext-flow-perl 0.01-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 188 kB
  • ctags: 17
  • sloc: perl: 763; makefile: 2
file content (54 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: patches pass a parameter to no_plan
 Test::More's no_plan doesn't require parameters, and warns
 if it receives any
Origin: vendor
Author: Jonathan Yu <jawnsy@cpan.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-06-07
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105056
Bug: https://rt.cpan.org/Ticket/Display.html?id=105056

--- a/t/010_basic_ascii_word_wrap.t
+++ b/t/010_basic_ascii_word_wrap.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More 'no_plan';
 use Test::LongString;
 
 BEGIN {
--- a/t/011_ascii_word_wrap_w_para.t
+++ b/t/011_ascii_word_wrap_w_para.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More 'no_plan';
 use Test::LongString;
 
 BEGIN {
--- a/t/002_ascii_text_flow_w_para.t
+++ b/t/002_ascii_text_flow_w_para.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More 'no_plan';
 use Test::LongString;
 
 use List::Util 'sum';
--- a/t/001_basic_ascii_text_flow.t
+++ b/t/001_basic_ascii_text_flow.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More no_plan => 1;
+use Test::More 'no_plan';
 use Test::LongString;
 
 use List::Util 'sum';