aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-08-31 22:45:00 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-08-31 22:45:00 +0800
commitfe8093b71f68614af8f542c7b829f56a28db7914 (patch)
tree3b38acaf40e5addaede3d453616ba26ee9c379b3 /tests/block_test.go
parent9dc23ce284944d68ffc64cc4fb6f5d293a179fa0 (diff)
downloaddexon-fe8093b71f68614af8f542c7b829f56a28db7914.tar.gz
dexon-fe8093b71f68614af8f542c7b829f56a28db7914.tar.zst
dexon-fe8093b71f68614af8f542c7b829f56a28db7914.zip
Add TestBcForkUncleTests and update JSON files
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index b0db5fe56..09fc8ebc9 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -42,6 +42,13 @@ func TestBcUncleTests(t *testing.T) {
}
}
+func TestBcForkUncleTests(t *testing.T) {
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcForkUncle.json"), BlockSkipTests)
+ if err != nil {
+ t.Fatal(err)
+ }
+}
+
func TestBcInvalidHeaderTests(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidHeaderTest.json"), BlockSkipTests)
if err != nil {