Til use bigint for amount & loadamount values

This commit is contained in:
arnaucube
2020-11-24 20:13:17 +01:00
parent fd4e7ac315
commit ea7e2546c7
3 changed files with 23 additions and 22 deletions

View File

@@ -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