mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Til use bigint for amount & loadamount values
This commit is contained in:
@@ -117,7 +117,7 @@ func TestParseErrors(t *testing.T) {
|
||||
`
|
||||
parser := newParser(strings.NewReader(s))
|
||||
_, err := parser.parse()
|
||||
assert.Equal(t, "Line 2: Deposit(1)A:: 10\n, err: strconv.Atoi: parsing \":\": invalid syntax", err.Error())
|
||||
assert.Equal(t, "Line 2: Deposit(1)A:: 10\n, err: Can not parse number for Amount: :", err.Error())
|
||||
|
||||
s = `
|
||||
Type: Blockchain
|
||||
|
||||
Reference in New Issue
Block a user