2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-07-15 20:10:54 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["assertions.go"],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/testing/assertions",
|
2020-07-15 20:10:54 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2020-10-03 01:51:58 +00:00
|
|
|
deps = [
|
2022-02-28 13:56:12 +00:00
|
|
|
"//encoding/ssz/equality:go_default_library",
|
2020-10-03 01:51:58 +00:00
|
|
|
"@com_github_d4l3k_messagediff//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2020-10-03 01:51:58 +00:00
|
|
|
],
|
2020-07-15 20:10:54 +00:00
|
|
|
)
|
2020-08-13 13:57:29 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["assertions_test.go"],
|
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-15 22:32:10 +00:00
|
|
|
"//proto/testing:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-08-13 16:22:25 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2021-07-15 22:32:10 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
2020-08-13 13:57:29 +00:00
|
|
|
],
|
|
|
|
)
|