Files
tidb/br/pkg/errors/BUILD.bazel

23 lines
544 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "errors",
srcs = ["errors.go"],
importpath = "github.com/pingcap/tidb/br/pkg/errors",
visibility = ["//visibility:public"],
deps = ["@com_github_pingcap_errors//:errors"],
)
go_test(
name = "errors_test",
timeout = "short",
srcs = ["errors_test.go"],
flaky = True,
shard_count = 2,
deps = [
":errors",
"@com_github_pingcap_errors//:errors",
"@com_github_stretchr_testify//require",
],
)