From e08aba5dd9f1e481aab18c6c062c97e0e400f75b Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 18 Nov 2014 12:18:27 +0100 Subject: added output test --- trie/trie_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'trie/trie_test.go') diff --git a/trie/trie_test.go b/trie/trie_test.go index d00671c6a..9a21fd805 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -497,6 +497,7 @@ func BenchmarkUpdate(b *testing.B) { b.ResetTimer() for i := 0; i < b.N; i++ { - trie.Update(fmt.Sprintf("aaaaaaaaaaaaaaa%d", j), "value") + trie.Update(fmt.Sprintf("aaaaaaaaaaaaaaa%d", i), "value") } + fmt.Println(trie.root) } -- cgit v1.2.3