-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use Test2::V0; | ||
|
||
use lib 't/lib'; | ||
use lib './t/lib'; | ||
use MyChecker; | ||
|
||
subtest 'Test `kura` features' => sub { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
use Test2::V0; | ||
use lib 't/lib'; | ||
|
||
use lib './t/lib'; | ||
use MyChecker; | ||
|
||
subtest 'Test `import_into` method' => sub { | ||
subtest 'Customize the import method to your taste' => sub { | ||
use MyKura Foo => MyChecker->new; | ||
use mykura Foo => MyChecker->new; | ||
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.36
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.36
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.32
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.32
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.30
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.30
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.28
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.28
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.26
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.26
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.20
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.20
Check failure on line 8 in t/02-import_into.t GitHub Actions / Perl 5.18
|
||
|
||
# MyKura customize the name of the checker | ||
isa_ok MyFoo, 'MyChecker'; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package MyFoo; | ||
|
||
use mystore Foo => sub { $_ eq 'foo' }; | ||
use mykura Foo => sub { $_ eq 'foo' }; | ||
|
||
1; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package mystore; | ||
package mykura; | ||
use strict; | ||
use warnings; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package MyKura; | ||
package mykura; | ||
use strict; | ||
use warnings; | ||
|
||
|