diff options
author | Joey Zhou <josephyzhou@gmail.com> | 2014-01-31 17:59:30 +0800 |
---|---|---|
committer | Joey Zhou <josephyzhou@gmail.com> | 2014-01-31 17:59:30 +0800 |
commit | a0704364ce7e4e65e805083a54362a53182cec7a (patch) | |
tree | 645537f265684c3982ae4a768e05df1b5f23128c /test_runner_test.go | |
parent | e28632b997b4097fb6f899067ead02b90d9b887b (diff) | |
download | go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar.gz go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar.bz2 go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar.lz go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar.xz go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.tar.zst go-tangerine-a0704364ce7e4e65e805083a54362a53182cec7a.zip |
fix build failure
Diffstat (limited to 'test_runner_test.go')
-rw-r--r-- | test_runner_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test_runner_test.go b/test_runner_test.go index 0a0b0d69c..5c8461ad8 100644 --- a/test_runner_test.go +++ b/test_runner_test.go @@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) { for key, value := range source.Inputs { trie.Update(key, value) } - - if hex.EncodeToString([]byte(trie.Root)) != source.Expectation { + if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation { t.Error("trie root did not match") } }) |