diff options
author | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-02-02 19:23:00 +0800 |
---|---|---|
committer | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-02-02 19:23:00 +0800 |
commit | bd9af2a7fde1f83c9131d883554c6d9e91e27fa6 (patch) | |
tree | 467a48cffa1dfd15002248cf948315b9238e0024 | |
parent | 8cf2dee4a23712d7234d391cc15a3f2330ea07e3 (diff) | |
parent | a0704364ce7e4e65e805083a54362a53182cec7a (diff) | |
download | dexon-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.gz dexon-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.zst dexon-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.zip |
Merge pull request #10 from josephyzhou/master
fix build failure
-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") } }) |