mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-02 06:25:37 +00:00
2531065d10
We were using google/uuid in two places and that brought in database/sql/driver. We didn't need it in either place. Updates #13760 Updates tailscale/corp#20099 Change-Id: Ieed32f1bebe35d35f47ec5a2a429268f24f11f1f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
28 lines
898 B
Go
28 lines
898 B
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",
|
|
},
|
|
}.Check(t)
|
|
}
|