testing/perl-module-generic: upgrade to 0.35.2

This commit is contained in:
Celeste 2024-03-22 06:24:08 +00:00 committed by J0WI
parent 5fa41cf1a4
commit cf6fbe672f
2 changed files with 3 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-module-generic
pkgver=0.35.1
pkgver=0.35.2
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Module-Generic
@ -51,6 +51,6 @@ doc() {
}
sha512sums="
df1d2955455ceda6dd569ec78637e3d63958e6ed2ae676820de210bfd4dac190da9d3b19512b9ca9fa9de42a533ab68d7e1eed684eac1fb72c7616c743db1ec6 Module-Generic-v0.35.1.tar.gz
aca460f2c4bc3982126b3271f0c3fdb7cff1d6c2f39c90136262cd37aedb6886cca96e346c27b1397e72eaf95765fc228e22bee040eced884c8d69a0a5a3e5d6 skip-broken-tests.patch
156794b2c76b8b6a59476c01da28ac181cee09f6d066b4380c92dd6fd2b21600378405185431f54ef89954a2aa260653fb9cec11184ceec95ab61dd5923e4e3f Module-Generic-v0.35.2.tar.gz
af467da801c0884a5994a61c205d4c522cf40905eebc4733ea4deaa755b19bab824879f91866e7622440d9ab823eed207fbe02092559da9660081423585504b3 skip-broken-tests.patch
"

View File

@ -1,14 +1,3 @@
--- a/t/02.num.t
+++ b/t/02.num.t
@@ -226,7 +226,7 @@
# is( $n2->thousand->scalar, $tho_sep, 'Thousand separator' );
# diag( "\$tho_sep is defined? ", defined( $tho_sep ) ? 'yes' : 'no' );
# diag( "\$n2->thousand is defined? ", defined( $n2->thousand ) ? 'yes' : 'no' );
-is( $n2->thousand, ( $tho_sep // '' ), "Thousand separator -> '" . ( defined( $tho_sep ) ? $tho_sep : 'undef' ) . "'" );
+#is( $n2->thousand, ( $tho_sep // '' ), "Thousand separator -> '" . ( defined( $tho_sep ) ? $tho_sep : 'undef' ) . "'" );
is( $n2->precision, 2, "Precision -> '2'" );
is( $n2->currency, '€', "Currency symbol -> '€'" );
isa_ok( $n2->currency, 'Module::Generic::Scalar', 'Returns property as string object' );
--- a/t/04.colour.t
+++ b/t/04.colour.t
@@ -15,6 +15,11 @@