Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kfly8 committed Aug 18, 2024
1 parent f52d7d7 commit d92becf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion t/02-import_into.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.36

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.36.3/x64/lib/site_perl/5.36.3/x86_64-linux /opt/hostedtoolcache/perl/5.36.3/x64/lib/site_perl/5.36.3 /opt/hostedtoolcache/perl/5.36.3/x64/lib/5.36.3/x86_64-linux /opt/hostedtoolcache/perl/5.36.3/x64/lib/5.36.3)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.36

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.34

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.34.3/x64/lib/site_perl/5.34.3/x86_64-linux /opt/hostedtoolcache/perl/5.34.3/x64/lib/site_perl/5.34.3 /opt/hostedtoolcache/perl/5.34.3/x64/lib/5.34.3/x86_64-linux /opt/hostedtoolcache/perl/5.34.3/x64/lib/5.34.3)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.34

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.32

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.32.1/x64/lib/site_perl/5.32.1/x86_64-linux /opt/hostedtoolcache/perl/5.32.1/x64/lib/site_perl/5.32.1 /opt/hostedtoolcache/perl/5.32.1/x64/lib/5.32.1/x86_64-linux /opt/hostedtoolcache/perl/5.32.1/x64/lib/5.32.1)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.32

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.30

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.30.3/x64/lib/site_perl/5.30.3/x86_64-linux /opt/hostedtoolcache/perl/5.30.3/x64/lib/site_perl/5.30.3 /opt/hostedtoolcache/perl/5.30.3/x64/lib/5.30.3/x86_64-linux /opt/hostedtoolcache/perl/5.30.3/x64/lib/5.30.3)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.30

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.28

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.28.3/x64/lib/site_perl/5.28.3/x86_64-linux /opt/hostedtoolcache/perl/5.28.3/x64/lib/site_perl/5.28.3 /opt/hostedtoolcache/perl/5.28.3/x64/lib/5.28.3/x86_64-linux /opt/hostedtoolcache/perl/5.28.3/x64/lib/5.28.3)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.28

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.26

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.26.3/x64/lib/site_perl/5.26.3/x86_64-linux /opt/hostedtoolcache/perl/5.26.3/x64/lib/site_perl/5.26.3 /opt/hostedtoolcache/perl/5.26.3/x64/lib/5.26.3/x86_64-linux /opt/hostedtoolcache/perl/5.26.3/x64/lib/5.26.3)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.26

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.24

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.24.4/x64/lib/site_perl/5.24.4/x86_64-linux /opt/hostedtoolcache/perl/5.24.4/x64/lib/site_perl/5.24.4 /opt/hostedtoolcache/perl/5.24.4/x64/lib/5.24.4/x86_64-linux /opt/hostedtoolcache/perl/5.24.4/x64/lib/5.24.4 .)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.24

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.22

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.22.4/x64/lib/site_perl/5.22.4/x86_64-linux /opt/hostedtoolcache/perl/5.22.4/x64/lib/site_perl/5.22.4 /opt/hostedtoolcache/perl/5.22.4/x64/lib/5.22.4/x86_64-linux /opt/hostedtoolcache/perl/5.22.4/x64/lib/5.22.4 .)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.22

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.20

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.20.3/x64/lib/site_perl/5.20.3/x86_64-linux /opt/hostedtoolcache/perl/5.20.3/x64/lib/site_perl/5.20.3 /opt/hostedtoolcache/perl/5.20.3/x64/lib/5.20.3/x86_64-linux /opt/hostedtoolcache/perl/5.20.3/x64/lib/5.20.3 .)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.20

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.18

Can't locate mykura.pm in @inc (you may need to install the mykura module) (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.18.4/x64/lib/site_perl/5.18.4/x86_64-linux /opt/hostedtoolcache/perl/5.18.4/x64/lib/site_perl/5.18.4 /opt/hostedtoolcache/perl/5.18.4/x64/lib/5.18.4/x86_64-linux /opt/hostedtoolcache/perl/5.18.4/x64/lib/5.18.4 .)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.18

BEGIN failed--compilation aborted

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.16

Can't locate mykura.pm in @inc (@inc contains: t/lib /home/runner/work/kura/kura/blib/arch /home/runner/work/kura/kura/blib/lib /home/runner/work/kura/kura/local/lib/perl5 /home/runner/work/kura/kura/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.16.3/x64/lib/site_perl/5.16.3/x86_64-linux /opt/hostedtoolcache/perl/5.16.3/x64/lib/site_perl/5.16.3 /opt/hostedtoolcache/perl/5.16.3/x64/lib/5.16.3/x86_64-linux /opt/hostedtoolcache/perl/5.16.3/x64/lib/5.16.3 .)

Check failure on line 7 in t/02-import_into.t

View workflow job for this annotation

GitHub Actions / Perl 5.16

BEGIN failed--compilation aborted

# MyKura customize the name of the checker
isa_ok MyFoo, 'MyChecker';
Expand Down
2 changes: 1 addition & 1 deletion t/10-integration/Exporter-Tiny.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use FindBin qw($Bin);;
use lib "$Bin/Exporter-Tiny";

subtest 'Test `kura` with Exporter::Tiny' => sub {
use mystore Foo => sub { $_ eq 'foo' };
use mykura Foo => sub { $_ eq 'foo' };

isa_ok __PACKAGE__, 'Exporter::Tiny';

Expand Down
2 changes: 1 addition & 1 deletion t/10-integration/Exporter-Tiny/MyFoo.pm
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;

Expand Down
2 changes: 1 addition & 1 deletion t/lib/MyKura.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package MyKura;
package mykura;
use strict;
use warnings;

Expand Down

0 comments on commit d92becf

Please sign in to comment.