Browse files

fixed skip counts in tests

  • Loading branch information...
1 parent b4eaa37 commit dd9a029466cbad7516d73133fe2fb55b3acf5747 @barbie committed Dec 2, 2012
Showing with 15 additions and 13 deletions.
  1. +3 −0 Changes
  2. +3 −3 META.json
  3. +3 −3 META.yml
  4. +1 −1 lib/Acme/CPANAuthors/British.pm
  5. +1 −1 lib/Acme/CPANAuthors/British/Companies.pm
  6. +2 −3 t/10british.t
  7. +2 −2 t/11companies.t
View
3 Changes
@@ -1,5 +1,8 @@
Revision history for Acme-CPANAuthors-British
+0.18 2012-12-02
+ - fixed skip test counts
+
0.17 2012-11-25
- gravatar tests just not working at the moment :(
View
6 META.json
@@ -1,6 +1,6 @@
{
"name": "Acme-CPANAuthors-British",
- "version": "0.17",
+ "version": "0.18",
"abstract": "We are British CPAN authors.",
"author": [
"Barbie (BARBIE) <barbie@cpan.org>"
@@ -44,11 +44,11 @@
"provides": {
"Acme::CPANAuthors::British": {
"file": "lib/Acme/CPANAuthors/British.pm",
- "version": "0.17"
+ "version": "0.18"
},
"Acme::CPANAuthors::British::Companies": {
"file": "lib/Acme/CPANAuthors/British/Companies.pm",
- "version": "0.17"
+ "version": "0.18"
}
},
"no_index": {
View
6 META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Acme-CPANAuthors-British
-version: 0.17
+version: 0.18
abstract: We are British CPAN authors.
author:
- Barbie <barbie@cpan.org>
@@ -24,10 +24,10 @@ build_requires:
provides:
Acme::CPANAuthors::British:
file: lib/Acme/CPANAuthors/British.pm
- version: 0.17
+ version: 0.18
Acme::CPANAuthors::British::Companies:
file: lib/Acme/CPANAuthors/British/Companies.pm
- version: 0.17
+ version: 0.18
no_index:
directory:
- t
View
2 lib/Acme/CPANAuthors/British.pm
@@ -4,7 +4,7 @@ use warnings;
{
no strict "vars";
- $VERSION = "0.17";
+ $VERSION = "0.18";
}
use Acme::CPANAuthors::Register (
View
2 lib/Acme/CPANAuthors/British/Companies.pm
@@ -4,7 +4,7 @@ use warnings;
{
no strict "vars";
- $VERSION = "0.17";
+ $VERSION = "0.18";
}
use Acme::CPANAuthors::Register (
View
5 t/10british.t
@@ -21,11 +21,11 @@ is( ~~@ids, $number, " .. \$authors->id equals \$authors->count" );
SKIP: {
my $file;
eval { $file = Acme::CPANAuthors::Utils::_cpan_authors_file() };
- skip "CPAN configuration not available", 6 if($@ || !$file);
+ skip "CPAN configuration not available", 5 if($@ || !$file);
$file = undef;
eval { $file = Acme::CPANAuthors::Utils::_cpan_packages_file() };
- skip "CPAN configuration not available", 6 if($@ || !$file);
+ skip "CPAN configuration not available", 5 if($@ || !$file);
my @distros = $authors->distributions('BARBIE');
cmp_ok( ~~@distros, ">", 0, " .. \$authors->distributions('BARBIE') gives a non-empty list" );
@@ -80,4 +80,3 @@ sub pingtest {
my $retcode = $? >> 8; # ping returns 1 if unable to connect
return $retcode;
}
-
View
4 t/11companies.t
@@ -21,11 +21,11 @@ is( ~~@ids, $number, " .. \$authors->id equals \$authors->count" );
SKIP: {
my $file;
eval { $file = Acme::CPANAuthors::Utils::_cpan_authors_file() };
- skip "CPAN configuration not available", 5 if($@ || !$file);
+ skip "CPAN configuration not available", 4 if($@ || !$file);
$file = undef;
eval { $file = Acme::CPANAuthors::Utils::_cpan_packages_file() };
- skip "CPAN configuration not available", 5 if($@ || !$file);
+ skip "CPAN configuration not available", 4 if($@ || !$file);
my @distros = $authors->distributions('FOTANGO');
cmp_ok( ~~@distros, ">", 0, " .. \$authors->distributions('FOTANGO') gives a non-empty list" );

0 comments on commit dd9a029

Please sign in to comment.