uncommenting testing code

This commit is contained in:
2025-01-07 20:19:47 +00:00
parent 07dd26e11f
commit ea8e7d4073
10 changed files with 645 additions and 644 deletions

View File

@@ -1,15 +1,15 @@
package p2p
// import (
// "fmt"
// "testing"
// )
//
// // Tests if the current has UPNP support
// func TestForwardUPNPPort(t *testing.T) {
// err := ForwardPort(6586)
// if err != nil {
// fmt.Println(err)
// t.Fail()
// }
// }
import (
"fmt"
"testing"
)
// Tests if the current has UPNP support
func TestForwardUPNPPort(t *testing.T) {
err := ForwardPort(6586)
if err != nil {
fmt.Println(err)
t.Fail()
}
}