mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +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
|
||||
prec int
|
||||
}{
|
||||
{"", 0},
|
||||
{"", 1},
|
||||
{"12A", 1},
|
||||
{"12.345", 2},
|
||||
{"12.3A", 2},
|
||||
|
|
Loading…
Reference in a new issue