From bc16d478f2efaa4118d277ed8178b9ac37852944 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 16 May 2022 08:39:52 +0200 Subject: [PATCH] Change test name --- tests/Pest/FormattingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Pest/FormattingTest.php b/tests/Pest/FormattingTest.php index da75f38..c39576a 100644 --- a/tests/Pest/FormattingTest.php +++ b/tests/Pest/FormattingTest.php @@ -47,7 +47,7 @@ test('the format method accepts overrides', function () { expect(Money::fromDecimal(10.45)->formatted(decimalSeparator: ',', suffix: ' USD'))->toBe('$10,45 USD'); }); -test('setting for deleting trailing decimal zeros', function () { +test('the trailing decimal zeros trimming', function () { expect(Money::fromDecimal(10.00, SEK::class)->formatted())->toBe('10 kr'); expect(Money::fromDecimal(10.10, SEK::class)->formatted())->toBe('10.1 kr'); expect(Money::fromDecimal(10.12, SEK::class)->formatted())->toBe('10.12 kr');