summaryrefslogtreecommitdiffhomepage
path: root/pkg/gohacks/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2021-04-14 11:27:05 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-14 11:28:49 -0700
commit5c1052b6bb2658208f1afaf423aeac98f30235c1 (patch)
tree7ff6b62adec989fd1ff2bd67a883fa8399174ae8 /pkg/gohacks/BUILD
parent36dbd3b97dbc455c6d710f4530ec8a07474dee64 (diff)
[syserror] Remove syserror from go_marshal
PiperOrigin-RevId: 368470656
Diffstat (limited to 'pkg/gohacks/BUILD')
-rw-r--r--pkg/gohacks/BUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkg/gohacks/BUILD b/pkg/gohacks/BUILD
index 35683fe98..b4e05f922 100644
--- a/pkg/gohacks/BUILD
+++ b/pkg/gohacks/BUILD
@@ -1,4 +1,4 @@
-load("//tools:defs.bzl", "go_library")
+load("//tools:defs.bzl", "go_library", "go_test")
package(licenses = ["notice"])
@@ -10,3 +10,11 @@ go_library(
stateify = False,
visibility = ["//:sandbox"],
)
+
+go_test(
+ name = "gohacks_test",
+ size = "small",
+ srcs = ["gohacks_test.go"],
+ library = ":gohacks",
+ deps = ["@org_golang_x_sys//unix:go_default_library"],
+)