Remove unnecessary test

This commit is contained in:
Zoltán Papp
2024-08-14 17:05:14 +02:00
parent 86f745eb9d
commit 2df6eefac3

View File

@@ -1,16 +0,0 @@
package tun
import "testing"
func TestDevice_assignIP(t *testing.T) {
d := Device{
Name: "mytun0",
IP: "10.0.0.1",
}
err := d.Up()
if err != nil {
t.Fatalf("failed to bring up device: %v", err)
}
defer d.Close()
select {}
}