diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-11 05:04:06 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 04:20:44 +0800 |
commit | ac0637c41332de1f49fb0955f4fbe0fb908a77d5 (patch) | |
tree | 9e87e69656cc317f300ba59692eeb525a230f0bf /tests/transaction_test.go | |
parent | b6d40a931286b4c998f58ad074db0a692aeace6e (diff) | |
download | go-tangerine-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.gz go-tangerine-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.zst go-tangerine-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.zip |
More consistent test interfaces + test skipping
Diffstat (limited to 'tests/transaction_test.go')
-rw-r--r-- | tests/transaction_test.go | 25 |
1 files changed, 3 insertions, 22 deletions
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) } |