aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/udp_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-13 01:05:33 +0800
committerobscuren <geffobscura@gmail.com>2015-05-13 01:05:33 +0800
commit8e24378cc1acb074b56de75bf0baf6feb7927677 (patch)
tree71f866652de6b45da5ad4403b88f5def9a684e36 /p2p/discover/udp_test.go
parent7d69679935ff8c04aebb60f27074f08c5e84ac95 (diff)
parent8fe01b4bfa28ad5a1fdde7f9837e8f982843389a (diff)
downloadgo-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.gz
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.bz2
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.lz
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.xz
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.zst
go-tangerine-8e24378cc1acb074b56de75bf0baf6feb7927677.zip
Merge branch 'release/0.9.20'v0.9.20
Diffstat (limited to 'p2p/discover/udp_test.go')
-rw-r--r--p2p/discover/udp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go
index a2bb503ff..f175835a8 100644
--- a/p2p/discover/udp_test.go
+++ b/p2p/discover/udp_test.go
@@ -9,7 +9,7 @@ import (
logpkg "log"
"net"
"os"
- "path"
+ "path/filepath"
"reflect"
"runtime"
"sync"
@@ -88,7 +88,7 @@ func (test *udpTest) waitPacketOut(validate interface{}) error {
func (test *udpTest) errorf(format string, args ...interface{}) error {
_, file, line, ok := runtime.Caller(2) // errorf + waitPacketOut
if ok {
- file = path.Base(file)
+ file = filepath.Base(file)
} else {
file = "???"
line = 1