mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
Updated test
This commit is contained in:
parent
858a6f0be9
commit
2e0694b606
1 changed files with 8 additions and 0 deletions
|
|
@ -2519,6 +2519,14 @@ func TestSigArgs(t *testing.T) {
|
|||
if err := json.Unmarshal([]byte(input), &args); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
if expected.From != args.From {
|
||||
t.Errorf("From should be %v but is %v", expected.From, args.From)
|
||||
}
|
||||
|
||||
if expected.Data != args.Data {
|
||||
t.Errorf("Data should be %v but is %v", expected.Data, args.Data)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSigArgsEmptyData(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue