prysm-pulse/third_party/io_bazel_rules_go_test.patch
Preston Van Loon 81fbfceea8
Update rules_go to v0.38.1 and go_version to 1.19.7 (#12055)
* Update rules_go to v0.38.1

* Bump go version

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-13 19:22:37 +00:00

23 lines
668 B
Diff

diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
index 413a19da..b289f52f 100644
--- a/go/private/rules/test.bzl
+++ b/go/private/rules/test.bzl
@@ -189,7 +189,7 @@ def _go_test_impl(ctx):
run_environment_info,
]
-_go_test_kwargs = {
+go_test_kwargs = {
"implementation": _go_test_impl,
"attrs": {
"data": attr.label_list(
@@ -471,7 +471,7 @@ _go_test_kwargs = {
""",
}
-go_test = rule(**_go_test_kwargs)
+go_test = rule(**go_test_kwargs)
def _recompile_external_deps(go, external_source, internal_archive, library_labels):
"""Recompiles some archives in order to split internal and external tests.