diff --git a/tests/MoneyTest.php b/tests/MoneyTest.php index 346517f..45a935d 100644 --- a/tests/MoneyTest.php +++ b/tests/MoneyTest.php @@ -61,7 +61,7 @@ public function providerOf() : array ['CUSTOM 0.428', BigRational::of('3/7'), new Currency('CUSTOM', 0, '', 3), null, RoundingMode::DOWN], ['CUSTOM 0.4286', BigRational::of('3/7'), new Currency('CUSTOM', 0, '', 3), new CustomContext(4, 1), RoundingMode::UP], [RoundingNecessaryException::class, '1.2', 'JPY'], - [NumberFormatException::class, '1.', 'JPY'], + [NumberFormatException::class, '1..', 'JPY'], ]; } @@ -95,7 +95,7 @@ public function providerOfMinor() : array ['JPY 600', 600, 'JPY'], ['USD 1.2350', '123.5', 'USD', new CustomContext(4)], [RoundingNecessaryException::class, '123.5', 'USD'], - [NumberFormatException::class, '123.', 'USD'], + [NumberFormatException::class, '123..', 'USD'], ]; }