aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-11 05:04:06 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:20:44 +0800
commitac0637c41332de1f49fb0955f4fbe0fb908a77d5 (patch)
tree9e87e69656cc317f300ba59692eeb525a230f0bf /tests/transaction_test.go
parentb6d40a931286b4c998f58ad074db0a692aeace6e (diff)
downloaddexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.gz
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.bz2
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.lz
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.xz
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.tar.zst
dexon-ac0637c41332de1f49fb0955f4fbe0fb908a77d5.zip
More consistent test interfaces + test skipping
Diffstat (limited to 'tests/transaction_test.go')
-rw-r--r--tests/transaction_test.go25
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)
}