diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-09 21:47:21 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-11 00:35:35 +0800 |
commit | 2e0694b606ba6cb2fc78dbda641deb1e8d156024 (patch) | |
tree | a11750508d7030538d803a16bced781d7b40e983 | |
parent | 858a6f0be9da459a87004755dffae2c3fc5544d2 (diff) | |
download | go-tangerine-2e0694b606ba6cb2fc78dbda641deb1e8d156024.tar.gz go-tangerine-2e0694b606ba6cb2fc78dbda641deb1e8d156024.tar.zst go-tangerine-2e0694b606ba6cb2fc78dbda641deb1e8d156024.zip |
Updated test
-rw-r--r-- | rpc/args_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go index fc10d68cf..81a2972cd 100644 --- a/rpc/args_test.go +++ b/rpc/args_test.go @@ -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) { |