Skip to content

Commit

Permalink
Build results of 213e5f7 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Nov 6, 2014
1 parent 336f6e6 commit 9365d06
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ t/00-compile/lib_CHI_Config_Driver_pm.t
t/00-compile/lib_CHI_Config_pm.t
t/00-report-prereqs.dd
t/00-report-prereqs.t
t/chi-memory-stupid.t
t/load_config.t
t/load_config_shared.t
weaver.ini
Expand Down
2 changes: 2 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Path::Tiny" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.89",
"Test::TempDir::Tiny" : "0",
"perl" : "5.006"
Expand Down Expand Up @@ -210,6 +211,7 @@
"Test::CPAN::Changes" : "0.30",
"Test::CPAN::Meta" : "0.23",
"Test::EOL" : "1.5",
"Test::Fatal" : "0.013",
"Test::Kwalitee" : "1.22",
"Test::More" : "1.001009",
"Test::Pod" : "1.48",
Expand Down
2 changes: 2 additions & 0 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build_requires:
ExtUtils::MakeMaker: '0'
File::Spec: '0'
Path::Tiny: '0'
Test::Fatal: '0'
Test::More: '0.89'
Test::TempDir::Tiny: '0'
perl: '5.006'
Expand Down Expand Up @@ -110,6 +111,7 @@ x_BuiltWith:
Test::CPAN::Changes: '0.30'
Test::CPAN::Meta: '0.23'
Test::EOL: '1.5'
Test::Fatal: '0.013'
Test::Kwalitee: '1.22'
Test::More: '1.001009'
Test::Pod: '1.48'
Expand Down
2 changes: 2 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ my %WriteMakefileArgs = (
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Path::Tiny" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.89",
"Test::TempDir::Tiny" => 0
},
Expand All @@ -56,6 +57,7 @@ my %FallbackPrereqs = (
"Moo" => 0,
"Path::Tiny" => 0,
"Storable" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.89",
"Test::TempDir::Tiny" => 0,
"constant" => 0,
Expand Down
1 change: 1 addition & 0 deletions t/00-report-prereqs.dd
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ do { my $x = {
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'Path::Tiny' => '0',
'Test::Fatal' => '0',
'Test::More' => '0.89',
'Test::TempDir::Tiny' => '0',
'perl' => '5.006'
Expand Down
45 changes: 45 additions & 0 deletions t/chi-memory-stupid.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

use strict;
use warnings;

use Test::More;
use Test::Fatal qw( exception );

# ABSTRACT: Make sure we have a working CHI
use CHI;

is(
exception {
CHI->new(
driver => 'Memory',
global => 0
);
},
undef,
"global => 0 is ok"
);

is(
exception {
CHI->new(
driver => 'Memory',
global => 1
);
},
undef,
"global => 1 is ok"
);

is(
exception {
CHI->new(
driver => 'Memory',
datastore => {},
);
},
undef,
"datastore => {} is ok"
);

done_testing;

0 comments on commit 9365d06

Please sign in to comment.