From 573bc3e05e80a8736141b4b39874fd9718089917 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Wed, 22 Apr 2015 12:09:44 +0200 Subject: Explicitly skip TransactionTests/tt10mbDataField.json --- tests/transaction_test.go | 7 ++----- tests/transaction_test_util.go | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/transaction_test.go b/tests/transaction_test.go index a6c7492d5..2bfb6cbd6 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -35,11 +35,9 @@ func TestWrongRLPTransactions(t *testing.T) { } } -/* - -Not working until it's fields are in HEX - +//Not working until it's fields are in HEX func Test10MBtx(t *testing.T) { + t.Skip("Skipped in lieu of HEX encoding fix in this file.") notWorking := make(map[string]bool, 100) var err error err = RunTransactionTests("./files/TransactionTests/tt10mbDataField.json", @@ -48,4 +46,3 @@ func Test10MBtx(t *testing.T) { t.Fatal(err) } } -*/ diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go index 23ec375e3..0f5790642 100644 --- a/tests/transaction_test_util.go +++ b/tests/transaction_test_util.go @@ -80,7 +80,7 @@ func runTest(txTest TransactionTest) (err error) { return nil } else { // RLP decoding works and validations pass (test FAIL) - return errors.New("Field validations failed after RLP decoding") + return fmt.Errorf("Field validations failed after RLP decoding: ", validationError) } } return errors.New("Should not happen: verify RLP decoding and field validation") -- cgit