diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 19:35:11 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 19:35:11 +0200 |
commit | 680a57faaefbb7ca4be10ef7beefdc70b74f59c2 (patch) | |
tree | e1092861f6df159c572fc97015edcdc61ac09c86 | |
parent | 2326d6a4d75f9f3736046cc526eb593a403d4c7a (diff) |
Fix up tests
-rw-r--r-- | helper_test.go | 4 |
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) { |