mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
Change test name
This commit is contained in:
parent
7885a82b56
commit
bc16d478f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue