Make successful tests silent

License: MIT
Signed-off-by: Filippo Valsorda <[email protected]>
This commit is contained in:
Filippo Valsorda
2018-05-21 20:21:00 +02:00
committed by Jason A. Donenfeld
parent 7bdc5eb54e
commit 84f52ce0d6
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -26,8 +26,8 @@ func TestDevice(t *testing.T) {
t.Error("failed to create tun:", err.Error())
}
println(tun1)
println(tun2)
_ = tun1
_ = tun2
// prepare endpoints
@@ -41,8 +41,8 @@ func TestDevice(t *testing.T) {
t.Error("failed to create endpoint:", err.Error())
}
println(end1)
println(end2)
_ = end1
_ = end2
// create binds