17 lines
232 B
Go
17 lines
232 B
Go
package core
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestEscapeNAT(t *testing.T) {
|
|
nat, s, err := EscapeNAT("8090")
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
t.Fail()
|
|
}
|
|
fmt.Println(nat)
|
|
fmt.Println(s)
|
|
}
|