Skip Menu |

This queue is for tickets about the GSM-SMS CPAN distribution.

Report information
The Basics
Id: 59528
Status: new
Priority: 0/
Queue: GSM-SMS

People
Owner: Nobody in particular
Requestors: jozef [...] kutej.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.162
Fixed in: (no value)



Subject: [patch] test counts fix
Hi, two test files needs to correct the number of tests. See attached patch. Cheers Jozef
Subject: tests-count-fix.patch
diff -Naur GSM-SMS-0.162.orig/t/06_transport_file.t GSM-SMS-0.162/t/06_transport_file.t --- GSM-SMS-0.162.orig/t/06_transport_file.t 2003-12-03 05:58:19.000000000 +0000 +++ GSM-SMS-0.162/t/06_transport_file.t 2010-07-19 10:29:07.000000000 +0000 @@ -1,5 +1,5 @@ use strict; -use Test::More tests => 5; +use Test::More tests => 6; # Test the FIle transport ... diff -Naur GSM-SMS-0.162.orig/t/20_transport_accessor.t GSM-SMS-0.162/t/20_transport_accessor.t --- GSM-SMS-0.162.orig/t/20_transport_accessor.t 2003-01-11 23:38:01.000000000 +0000 +++ GSM-SMS-0.162/t/20_transport_accessor.t 2010-07-19 10:30:43.000000000 +0000 @@ -15,7 +15,7 @@ eval { $cfg = GSM::SMS::Config->new( -check => 1 ); }; - skip( "Config hinders test: $@", 2) if ($@); + skip( "Config hinders test: $@", 1+7) if ($@); my $nbs = GSM::SMS::NBS->new; my $transport = $nbs->get_transport;