Compare commits
No commits in common. "0f21b0181358dc718ed619bd9d3505a32690d627" and "e979742424f8b5526c7669a87f1ea8622d37110e" have entirely different histories.
0f21b01813
...
e979742424
@ -1582,7 +1582,7 @@ func TestCheckBalance(t *testing.T) {
|
|||||||
publicKey: "0X98765432109",
|
publicKey: "0X98765432109",
|
||||||
activeSym: "ETH",
|
activeSym: "ETH",
|
||||||
activeBal: "1.5",
|
activeBal: "1.5",
|
||||||
expectedResult: resource.Result{Content: "Balance: 1.50 ETH\n"},
|
expectedResult: resource.Result{Content: "Balance: 1.5 ETH\n"},
|
||||||
expectError: false,
|
expectError: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -2008,7 +2008,7 @@ func TestViewVoucher(t *testing.T) {
|
|||||||
|
|
||||||
res, err := h.ViewVoucher(ctx, "view_voucher", []byte("1"))
|
res, err := h.ViewVoucher(ctx, "view_voucher", []byte("1"))
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assert.Equal(t, res.Content, "Symbol: SRF\nBalance: 100")
|
assert.Equal(t, res.Content, "SRF\n100")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSetVoucher(t *testing.T) {
|
func TestSetVoucher(t *testing.T) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user