github.com/prysmaticlabs/prysm@v1.4.4/third_party/io_bazel_rules_go_test.patch (about)

     1  diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
     2  index a7936ca9..cbfc996a 100644
     3  --- a/go/private/rules/test.bzl
     4  +++ b/go/private/rules/test.bzl
     5  @@ -176,7 +176,7 @@ def _go_test_impl(ctx):
     6           ),
     7       ]
     8   
     9  -_go_test_kwargs = {
    10  +go_test_kwargs = {
    11       "implementation": _go_test_impl,
    12       "attrs": {
    13           "data": attr.label_list(allow_files = True),
    14  @@ -213,8 +213,8 @@ _go_test_kwargs = {
    15       "toolchains": ["@io_bazel_rules_go//go:toolchain"],
    16   }
    17   
    18  -go_test = rule(**_go_test_kwargs)
    19  -go_transition_test = go_transition_rule(**_go_test_kwargs)
    20  +go_test = rule(**go_test_kwargs)
    21  +go_transition_test = go_transition_rule(**go_test_kwargs)
    22   
    23   def _recompile_external_deps(go, external_source, internal_archive, library_labels):
    24       """Recompiles some archives in order to split internal and external tests.