mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
1938685d39
Updates tailscale/corp#20099 Change-Id: Ie3b782379b19d5f7890a8d3a378096b4f3e8a612 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
29 lines
1.0 KiB
Go
29 lines
1.0 KiB
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package iosdeps
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"tailscale.com/tstest/deptest"
|
|
)
|
|
|
|
func TestDeps(t *testing.T) {
|
|
deptest.DepChecker{
|
|
GOOS: "ios",
|
|
GOARCH: "arm64",
|
|
BadDeps: map[string]string{
|
|
"testing": "do not use testing package in production code",
|
|
"text/template": "linker bloat (MethodByName)",
|
|
"html/template": "linker bloat (MethodByName)",
|
|
"tailscale.com/net/wsconn": "https://github.com/tailscale/tailscale/issues/13762",
|
|
"github.com/coder/websocket": "https://github.com/tailscale/tailscale/issues/13762",
|
|
"github.com/mitchellh/go-ps": "https://github.com/tailscale/tailscale/pull/13759",
|
|
"database/sql/driver": "iOS doesn't use an SQL database",
|
|
"github.com/google/uuid": "see tailscale/tailscale#13760",
|
|
"tailscale.com/clientupdate/distsign": "downloads via AppStore, not distsign",
|
|
},
|
|
}.Check(t)
|
|
}
|