prysm-pulse/shared/testutil/require/BUILD.bazel
Victor Farazdagi 77d1a6c698
Adds testutils/assert and testutils/require (#6563)
* testutils/assert

* adds assertion tb mock

* testutil/require

* gazelle

* comment public types

* set TestOnly attribute

* fixes package name

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-07-13 10:19:52 -05:00

19 lines
529 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_test")
load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go_default_library",
testonly = True,
srcs = ["requires.go"],
importpath = "github.com/prysmaticlabs/prysm/shared/testutil/require",
visibility = ["//visibility:public"],
deps = ["//shared/testutil:go_default_library"],
)
go_test(
name = "go_default_test",
srcs = ["requires_test.go"],
embed = [":go_default_library"],
deps = ["//shared/testutil:go_default_library"],
)