fixedn: add a test for empty string

Ensure it fails.
This commit is contained in:
Roman Khimov 2022-08-19 21:34:39 +03:00
parent 7e212de41a
commit 3402b870c8

View file

@ -38,6 +38,8 @@ func TestDecimalFromStringBad(t *testing.T) {
s string
prec int
}{
{"", 0},
{"", 1},
{"12A", 1},
{"12.345", 2},
{"12.3A", 2},