mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-16 03:34:28 +02:00
Fix refactoring mistakes
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user