From ac0637c41332de1f49fb0955f4fbe0fb908a77d5 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 10 Jun 2015 17:04:06 -0400 Subject: More consistent test interfaces + test skipping --- tests/transaction_test.go | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'tests/transaction_test.go') diff --git a/tests/transaction_test.go b/tests/transaction_test.go index e1237dee2..41a20a1bb 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -6,40 +6,21 @@ import ( ) func TestTransactions(t *testing.T) { - notWorking := make(map[string]bool, 100) - - // TODO: all these tests should work! remove them from the array when they work - snafus := []string{ - "TransactionWithHihghNonce256", // fails due to testing upper bound of 256 bit nonce - } - - for _, name := range snafus { - notWorking[name] = true - } - - var err error - err = RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json"), - notWorking) + err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json")) if err != nil { t.Fatal(err) } } func TestWrongRLPTransactions(t *testing.T) { - notWorking := make(map[string]bool, 100) - var err error - err = RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json"), - notWorking) + err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json")) if err != nil { t.Fatal(err) } } func Test10MBtx(t *testing.T) { - notWorking := make(map[string]bool, 100) - var err error - err = RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), - notWorking) + err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json")) if err != nil { t.Fatal(err) } -- cgit