diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-17 19:57:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-17 19:57:35 +0800 |
commit | b1c58b76a9588a90db5a773a997bb70265c378d3 (patch) | |
tree | 0d2631ec0b9324f08fcd2e82cec797fab75e9d4d /core/chain_manager_test.go | |
parent | ef4135eabe5cb25f8972371c5681e1611ce0cde9 (diff) | |
download | go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.gz go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.bz2 go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.lz go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.xz go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.tar.zst go-tangerine-b1c58b76a9588a90db5a773a997bb70265c378d3.zip |
moved err check
Diffstat (limited to 'core/chain_manager_test.go')
-rw-r--r-- | core/chain_manager_test.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go index 9a8bc9592..a84e3ff3b 100644 --- a/core/chain_manager_test.go +++ b/core/chain_manager_test.go @@ -1 +1,19 @@ package core + +import ( + "fmt" + "path" + "testing" + + "github.com/ethereum/go-ethereum/ethutil" +) + +func TestChainInsertions(t *testing.T) { + c1, err := ethutil.ReadAllFile(path.Join("..", "_data", "chain1")) + if err != nil { + fmt.Println(err) + t.FailNow() + } + data1, _ := ethutil.Decode([]byte(c1), 0) + fmt.Println(data1) +} |