Files
tidb/util/format/BUILD.bazel
2022-07-22 15:35:09 +08:00

25 lines
537 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "format",
srcs = ["format.go"],
importpath = "github.com/pingcap/tidb/util/format",
visibility = ["//visibility:public"],
)
go_test(
name = "format_test",
timeout = "short",
srcs = [
"format_test.go",
"main_test.go",
],
embed = [":format"],
flaky = True,
deps = [
"//testkit/testsetup",
"@com_github_stretchr_testify//assert",
"@org_uber_go_goleak//:goleak",
],
)