From 2e0694b606ba6cb2fc78dbda641deb1e8d156024 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Tue, 9 Jun 2015 09:47:21 -0400 Subject: [PATCH] Updated test --- rpc/args_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {