Package: libtest-email-perl / 0.07-2

fix_number_of_skipped_tests.patch Patch series | download
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
Description: Fix number of skipped tests in some test files
 In some test files have more skipped tests than planned, so this patch fix
 this issue.
Author: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Last-Updated: 2015-12-28
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110703
Bug: https://rt.cpan.org/Ticket/Display.html?id=110703

--- a/t/01_login.t
+++ b/t/01_login.t
@@ -10,7 +10,7 @@ BEGIN { use_ok('Test::POP3') };
 my ($host, $user, $pass) = get_info();
 
 SKIP: {
-    skip 'No POP3 settings found', 2 unless $host;
+    skip 'No POP3 settings found', 1 unless $host;
 
     my $pop3 = Test::POP3->new({
         host    =>  $host,
--- a/t/02_wait.t
+++ b/t/02_wait.t
@@ -13,7 +13,7 @@ my ($host, $user, $pass, $smtp, $email)
 
 
 SKIP: {
-    skip 'No POP3 settings found', 5 unless $host;
+    skip 'No POP3 settings found', 4 unless $host;
 
     my $pop3 = Test::POP3->new({
         host    =>  $host,
--- a/t/03_headers.t
+++ b/t/03_headers.t
@@ -16,7 +16,7 @@ my ($host, $user, $pass, $smtp, $email)
 $Test::Email::QUIET_DIAG = 1;
 
 SKIP: {
-    skip 'No POP3 settings found', 5 unless $host;
+    skip 'No POP3 settings found', 6 unless $host;
     my $pop3 = Test::POP3->new({
         host    =>  $host,
         user    =>  $user,
--- a/t/04_body.t
+++ b/t/04_body.t
@@ -17,7 +17,7 @@ my ($host, $user, $pass, $smtp, $email)
 $Test::Email::QUIET_DIAG = 1;
 
 SKIP: {
-    skip 'No POP3 settings found', 9 unless $host;
+    skip 'No POP3 settings found', 8 unless $host;
     my $test = Test::POP3->new({
         host    =>  $host,
         user    =>  $user,