blob: 4f162e2ee8e07e331117f97b0142781d70ed5345 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "testutils",
srcs = ["git_builder.go"],
importpath = "go.skia.org/infra/go/git/testutils",
visibility = ["//visibility:public"],
deps = [
"//go/exec",
"//go/git/git_common",
"//go/sktest",
"//go/testutils",
"@com_github_stretchr_testify//require",
],
)
go_test(
name = "testutils_test",
srcs = ["git_builder_test.go"],
embed = [":testutils"],
deps = [
"//bazel/external/cipd/git",
"//go/exec",
"//go/git/git_common",
"@com_github_stretchr_testify//require",
],
)