summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-09-12 15:09:01 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-12 15:10:17 -0700
commitdf5d377521e625aeb8f4fe18bd1d9974dbf9998c (patch)
tree9d1fed7b3ae29077b4f889b95ec493591b267363 /tools/go_marshal
parent78cfbbda4bcf29cc445f2ac000d4f2f9c72123f6 (diff)
Remove go_test from go_stateify and go_marshal
They are no-ops, so the standard rule works fine. PiperOrigin-RevId: 268776264
Diffstat (limited to 'tools/go_marshal')
-rw-r--r--tools/go_marshal/defs.bzl6
-rw-r--r--tools/go_marshal/test/BUILD4
2 files changed, 3 insertions, 7 deletions
diff --git a/tools/go_marshal/defs.bzl b/tools/go_marshal/defs.bzl
index 60a992b7f..c32eb559f 100644
--- a/tools/go_marshal/defs.bzl
+++ b/tools/go_marshal/defs.bzl
@@ -150,9 +150,3 @@ def go_library(name, srcs, deps = [], imports = [], debug = False, **kwargs):
],
**kwargs
)
-
-def go_test(**kwargs):
- """Wraps the standard go_test."""
- _go_test(
- **kwargs
- )
diff --git a/tools/go_marshal/test/BUILD b/tools/go_marshal/test/BUILD
index 947011414..fa82f8e9b 100644
--- a/tools/go_marshal/test/BUILD
+++ b/tools/go_marshal/test/BUILD
@@ -1,6 +1,8 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_test")
+
package(licenses = ["notice"])
-load("//tools/go_marshal:defs.bzl", "go_library", "go_test")
+load("//tools/go_marshal:defs.bzl", "go_library")
package_group(
name = "gomarshal_test",