Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
haukex committed Sep 21, 2024
1 parent 33c312c commit 8c032f8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/full-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Full Tests, Lint, and 100% Coverage, all versions and OSes
name: Full Tests, Lint, and 100% Coverage, all Perl versions and OSes
on:
push:
# this workflow is somewhat expensive, so only run when explicitly tagged
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ It is a Perl extension for turning hashrefs into objects with accessors for keys
Please see the module's documentation (POD) for details (try the command
`perldoc lib/Util/H2O.pm`) and the file `Changes` for version information.

[![GitHub Actions Basic Tests Status](https://github.com/haukex/Util-H2O/actions/workflows/basic-tests.yml/badge.svg)](https://github.com/haukex/Util-H2O/actions/workflows/basic-tests.yml)
[![GitHub Actions Full Tests Status](https://github.com/haukex/Util-H2O/actions/workflows/full-tests.yml/badge.svg)](https://github.com/haukex/Util-H2O/actions/workflows/full-tests.yml)
[![Kwalitee Score](https://cpants.cpanauthors.org/dist/Util-H2O.svg)](https://cpants.cpanauthors.org/dist/Util-H2O)
[![CPAN Testers](https://haukex.github.io/my-badges/Util-H2O.svg)](http://matrix.cpantesters.org/?dist=Util-H2O)
Expand Down
2 changes: 1 addition & 1 deletion lib/Util/H2O/Also.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sub new { ## no critic (RequireArgUnpacking)
}
Carp::croak("can't use -nolock and -ro together") if !$lock && $ro;
my $hashref = shift;
Carp::croak("$class->new() only accepts plain hashrefs") unless ref $hashref eq 'HASH';
Carp::croak("->new() only accepts plain hashrefs") unless ref $hashref eq 'HASH';
bless $hashref, $class;
if ($ro) { Hash::Util::lock_hashref($hashref) }
elsif ($lock) { Hash::Util::lock_ref_keys($hashref) }
Expand Down
2 changes: 1 addition & 1 deletion xt/cpanfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cpanm --installdeps .
# cpanm --installdeps --notest . # `--notest` is optional
# NOTE: Keep in sync with https://github.com/haukex/docker-perl-author-tests/blob/main/cpanfile
requires 'Test::Perl::Critic', '>= 1.04';
requires 'Test::MinimumVersion', '>= 0.101083';
Expand Down

0 comments on commit 8c032f8

Please sign in to comment.