From 8c032f885dc9f25917a2f599b7e0f132a6ba2805 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Sat, 21 Sep 2024 09:10:56 +0000 Subject: [PATCH] Minor edits --- .github/workflows/full-tests.yml | 2 +- README.md | 1 - lib/Util/H2O/Also.pm | 2 +- xt/cpanfile | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/full-tests.yml b/.github/workflows/full-tests.yml index 1767d6e..857bbaa 100644 --- a/.github/workflows/full-tests.yml +++ b/.github/workflows/full-tests.yml @@ -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 diff --git a/README.md b/README.md index 62b9adf..7167ca9 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/lib/Util/H2O/Also.pm b/lib/Util/H2O/Also.pm index 9c51104..284f886 100644 --- a/lib/Util/H2O/Also.pm +++ b/lib/Util/H2O/Also.pm @@ -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) } diff --git a/xt/cpanfile b/xt/cpanfile index eaf8d80..359c122 100644 --- a/xt/cpanfile +++ b/xt/cpanfile @@ -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';