revbank/t
Juerd Waalboer b052292a22 ChatGPT wrote some unit tests and found a small bug.
When asked to fix the bug, it came up with a different regex, which
would completely change what's valid and what's not, so that's totally
wrong:

    /^\s*(-)?([0-9]+)(?:[,.]([0-9]{1,2}))?\s*$/

When asked to fix it in another way, without changing the regex, it
suggested stripping the sign completely, which is even more wrong.

So I fixed it myself :)
2023-03-16 00:00:26 +01:00
..
amount.t Ditch floating point numbers, use cents instead; bump version to 3.2 2021-12-02 22:18:06 +01:00
amount2.t ChatGPT wrote some unit tests and found a small bug. 2023-03-16 00:00:26 +01:00