Added more unit tests

This commit is contained in:
Juan Font 2021-07-04 13:01:41 +02:00
parent 07e95393b3
commit d0e970f21d
7 changed files with 165 additions and 11 deletions

View file

@ -9,7 +9,6 @@ import (
"strconv"
"strings"
"github.com/davecgh/go-spew/spew"
"github.com/tailscale/hujson"
"inet.af/netaddr"
"tailscale.com/tailcfg"
@ -82,8 +81,6 @@ func (h *Headscale) generateACLRules() (*[]tailcfg.FilterRule, error) {
DstPorts: destPorts,
})
}
// fmt.Println(rules)
spew.Dump(rules)
return &rules, nil
}