aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-21 23:08:47 +0800
committerobscuren <geffobscura@gmail.com>2015-06-21 23:08:47 +0800
commita40a91d60f978477fd2582487dfb5e83d4255bf4 (patch)
tree362ea86e1edf2228fe750725d4703bf4512d6c9e /trie
parentc590b505ed92957baf2ab4baa1788c6b0ec862cc (diff)
downloadgo-tangerine-a40a91d60f978477fd2582487dfb5e83d4255bf4.tar.gz
go-tangerine-a40a91d60f978477fd2582487dfb5e83d4255bf4.tar.zst
go-tangerine-a40a91d60f978477fd2582487dfb5e83d4255bf4.zip
trie: fixed tests
Diffstat (limited to 'trie')
-rw-r--r--trie/trie_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/trie_test.go b/trie/trie_test.go
index 16311aadf..9a58958d8 100644
--- a/trie/trie_test.go
+++ b/trie/trie_test.go
@@ -12,7 +12,7 @@ import (
type Db map[string][]byte
func (self Db) Get(k []byte) ([]byte, error) { return self[string(k)], nil }
-func (self Db) Put(k, v []byte) { self[string(k)] = v }
+func (self Db) Put(k, v []byte) error { self[string(k)] = v; return nil }
// Used for testing
func NewEmpty() *Trie {