mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 09:42:22 +00:00
fixedn: add a test for empty string
Ensure it fails.
This commit is contained in:
parent
7e212de41a
commit
3402b870c8
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ func TestDecimalFromStringBad(t *testing.T) {
|
||||||
s string
|
s string
|
||||||
prec int
|
prec int
|
||||||
}{
|
}{
|
||||||
|
{"", 0},
|
||||||
|
{"", 1},
|
||||||
{"12A", 1},
|
{"12A", 1},
|
||||||
{"12.345", 2},
|
{"12.345", 2},
|
||||||
{"12.3A", 2},
|
{"12.3A", 2},
|
||||||
|
|
Loading…
Reference in a new issue