feature/featuretags, ipn/conffile: make HuJSON support in config files optional
Saves 33 KB. Updates #12614 Change-Id: Ie701c230e0765281f409f29ed263910b9be9cc77 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
6c6a1d8341
commit
f7afb9b6ca
@@ -253,13 +253,19 @@ func TestMinTailscaledNoCLI(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMinTailscaledWithCLI(t *testing.T) {
|
||||
badSubstrs := []string{
|
||||
"cbor",
|
||||
"hujson",
|
||||
}
|
||||
deptest.DepChecker{
|
||||
GOOS: "linux",
|
||||
GOARCH: "amd64",
|
||||
Tags: minTags() + ",ts_include_cli",
|
||||
OnDep: func(dep string) {
|
||||
if strings.Contains(dep, "cbor") {
|
||||
t.Errorf("unexpected dep: %q", dep)
|
||||
for _, bad := range badSubstrs {
|
||||
if strings.Contains(dep, bad) {
|
||||
t.Errorf("unexpected dep: %q", dep)
|
||||
}
|
||||
}
|
||||
},
|
||||
}.Check(t)
|
||||
|
||||
Reference in New Issue
Block a user