Explicitly skip TransactionTests/tt10mbDataField.json

This commit is contained in:
Gustav Simonsson 2015-04-22 12:09:44 +02:00
parent 7254278c09
commit 573bc3e05e
2 changed files with 3 additions and 6 deletions

View File

@ -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) { func Test10MBtx(t *testing.T) {
t.Skip("Skipped in lieu of HEX encoding fix in this file.")
notWorking := make(map[string]bool, 100) notWorking := make(map[string]bool, 100)
var err error var err error
err = RunTransactionTests("./files/TransactionTests/tt10mbDataField.json", err = RunTransactionTests("./files/TransactionTests/tt10mbDataField.json",
@ -48,4 +46,3 @@ func Test10MBtx(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
} }
*/

View File

@ -80,7 +80,7 @@ func runTest(txTest TransactionTest) (err error) {
return nil return nil
} else { } else {
// RLP decoding works and validations pass (test FAIL) // 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") return errors.New("Should not happen: verify RLP decoding and field validation")