aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test_util.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/transaction_test_util.go')
-rw-r--r--tests/transaction_test_util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go
index 09511acb7..6f9840523 100644
--- a/tests/transaction_test_util.go
+++ b/tests/transaction_test_util.go
@@ -120,7 +120,7 @@ func runTransactionTest(txTest TransactionTest) (err error) {
return nil
} else {
// RLP decoding failed but is expected to succeed (test FAIL)
- return fmt.Errorf("RLP decoding failed when expected to succeed: ", err)
+ return fmt.Errorf("RLP decoding failed when expected to succeed: %s", err)
}
}
@@ -142,7 +142,7 @@ func runTransactionTest(txTest TransactionTest) (err error) {
return nil
} else {
// RLP decoding works and validations pass (test FAIL)
- return fmt.Errorf("Field validations failed after RLP decoding: ", validationError)
+ return fmt.Errorf("Field validations failed after RLP decoding: %s", validationError)
}
}
return errors.New("Should not happen: verify RLP decoding and field validation")