Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed May 28, 2024
1 parent 1fff96b commit 1bd35aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/src/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ public function string_to_amount_provider() {
[ '.', ',', '-1.250,-', '-1250' ],
[ '', '', '123456789', '123456789' ],
[ false, false, '123 456 789', '123456789' ],
// https://github.com/pronamic/wp-pronamic-pay-gravityforms/issues/40#issuecomment-2106892669

Check failure on line 141 in tests/src/ParserTest.php

View workflow job for this annotation

GitHub Actions / phpcs / phpcs

Inline comments must end in full-stops, exclamation marks, or question marks
[ '.', ',', '2,5 stuks', '2.5' ],
[ '.', ',', '2,500 stuks', '2.5' ],
[ '.', ',', '2.500 stuks', '2500' ],
[ '.', ',', '2.500,50 stuks', '2500.5' ],
[ '.', ',', '0,000017 BTC', '1.7e-5' ],
[ '.', ',', '0,00037 ETH', '0.00037' ],
[ '.', ',', '0,037 ETH', '0.037' ],
[ '.', ',', '2,037 ETH', '2.037' ],
[ ',', '.', '2,721.51 EUR', '2721.51' ],
];
}
}

0 comments on commit 1bd35aa

Please sign in to comment.