diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-22 18:09:44 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-23 05:16:17 +0800 |
commit | 573bc3e05e80a8736141b4b39874fd9718089917 (patch) | |
tree | 005ffca3ebbe996ab32a222bc737307175da66aa | |
parent | 7254278c09e38edf04d311e42301ba6e55d32da9 (diff) | |
download | go-tangerine-573bc3e05e80a8736141b4b39874fd9718089917.tar.gz go-tangerine-573bc3e05e80a8736141b4b39874fd9718089917.tar.zst go-tangerine-573bc3e05e80a8736141b4b39874fd9718089917.zip |
Explicitly skip TransactionTests/tt10mbDataField.json
-rw-r--r-- | tests/transaction_test.go | 7 | ||||
-rw-r--r-- | 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") |