fix build failure

pull/10/head
Joey Zhou 11 years ago
parent e28632b997
commit a0704364ce
  1. 3
      test_runner_test.go

@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) {
for key, value := range source.Inputs { for key, value := range source.Inputs {
trie.Update(key, value) trie.Update(key, value)
} }
if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation {
if hex.EncodeToString([]byte(trie.Root)) != source.Expectation {
t.Error("trie root did not match") t.Error("trie root did not match")
} }
}) })

Loading…
Cancel
Save