From a0704364ce7e4e65e805083a54362a53182cec7a Mon Sep 17 00:00:00 2001 From: Joey Zhou Date: Fri, 31 Jan 2014 01:59:30 -0800 Subject: [PATCH] fix build failure --- test_runner_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_runner_test.go b/test_runner_test.go index 0a0b0d69c7..5c8461ad89 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") } })