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