You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
417 B
22 lines
417 B
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"tailscale.com/tstest/deptest"
|
|
)
|
|
|
|
func TestOmitQRCodes(t *testing.T) {
|
|
const msg = "unexpected with ts_omit_qrcodes"
|
|
deptest.DepChecker{
|
|
GOOS: "linux",
|
|
GOARCH: "amd64",
|
|
Tags: "ts_omit_qrcodes",
|
|
BadDeps: map[string]string{
|
|
"github.com/skip2/go-qrcode": msg,
|
|
},
|
|
}.Check(t)
|
|
}
|
|
|