aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 19:35:11 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 19:35:11 +0200
commit680a57faaefbb7ca4be10ef7beefdc70b74f59c2 (patch)
treee1092861f6df159c572fc97015edcdc61ac09c86
parentOdds and ends (diff)
downloadwireguard-go-680a57faaefbb7ca4be10ef7beefdc70b74f59c2.tar.xz
wireguard-go-680a57faaefbb7ca4be10ef7beefdc70b74f59c2.zip
Fix up tests
-rw-r--r--helper_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper_test.go b/helper_test.go
index a8adcd7..20b1d0a 100644
--- a/helper_test.go
+++ b/helper_test.go
@@ -25,8 +25,8 @@ func (tun *DummyTUN) File() *os.File {
return nil
}
-func (tun *DummyTUN) Name() string {
- return tun.name
+func (tun *DummyTUN) Name() (string, error) {
+ return tun.name, nil
}
func (tun *DummyTUN) MTU() (int, error) {