diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-08-24 08:52:53 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-08-25 10:46:11 +0800 |
commit | 7324176f702a77fc331bf16a968d2eb4bccce021 (patch) | |
tree | a9fef3b9ee46fc382dde23cdd90209cc4298dd59 /tests/block_test.go | |
parent | d51d0022cee91d6588186455afbe6e54fae2cbf7 (diff) | |
download | dexon-7324176f702a77fc331bf16a968d2eb4bccce021.tar.gz dexon-7324176f702a77fc331bf16a968d2eb4bccce021.tar.zst dexon-7324176f702a77fc331bf16a968d2eb4bccce021.zip |
Add tests for uncle timestamps and refactor timestamp type
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index f42b474b7..b0db5fe56 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -35,6 +35,13 @@ func TestBcUncleHeaderValidityTests(t *testing.T) { } } +func TestBcUncleTests(t *testing.T) { + err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests) + if err != nil { + t.Fatal(err) + } +} + func TestBcInvalidHeaderTests(t *testing.T) { err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidHeaderTest.json"), BlockSkipTests) if err != nil { |