summaryrefslogtreecommitdiffhomepage
path: root/allowedips_rand_test.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 06:28:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 06:28:42 +0200
commit27091c32841bf074bec60f46fea1954c455233d9 (patch)
tree629adf5fa300d80c773d745e2fb5a3e4efdbcc87 /allowedips_rand_test.go
parent08d7602dc34db580e41fc3af5a4340f2c25f09ff (diff)
Fix refactoring mistakes
Diffstat (limited to 'allowedips_rand_test.go')
-rw-r--r--allowedips_rand_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/allowedips_rand_test.go b/allowedips_rand_test.go
index 6ec039d..f60df76 100644
--- a/allowedips_rand_test.go
+++ b/allowedips_rand_test.go
@@ -92,7 +92,7 @@ func TestTrieRandomIPv4(t *testing.T) {
peer1 := slow.Lookup(addr[:])
peer2 := trie.lookup(addr[:])
if peer1 != peer2 {
- t.Error("trieEntry did not match naive implementation, for:", addr)
+ t.Error("Trie did not match naive implementation, for:", addr)
}
}
}
@@ -125,7 +125,7 @@ func TestTrieRandomIPv6(t *testing.T) {
peer1 := slow.Lookup(addr[:])
peer2 := trie.lookup(addr[:])
if peer1 != peer2 {
- t.Error("trieEntry did not match naive implementation, for:", addr)
+ t.Error("Trie did not match naive implementation, for:", addr)
}
}
}