summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/testbench/BUILD
diff options
context:
space:
mode:
authorEyal Soha <eyalsoha@google.com>2020-04-23 18:20:43 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-23 18:24:31 -0700
commit79542417fe97a62ee86aa211ac559bcc5cac5e5e (patch)
tree9d60f6f6de50d368818034b7ddfaabad483f8ab6 /test/packetimpact/testbench/BUILD
parentf01f2132d8d3e551579cba9a1b942b4b70d83f21 (diff)
Fix Layer merge and add unit tests
mergo was improperly merging nil and empty strings PiperOrigin-RevId: 308170862
Diffstat (limited to 'test/packetimpact/testbench/BUILD')
-rw-r--r--test/packetimpact/testbench/BUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/packetimpact/testbench/BUILD b/test/packetimpact/testbench/BUILD
index b6a254882..3ceceb9d7 100644
--- a/test/packetimpact/testbench/BUILD
+++ b/test/packetimpact/testbench/BUILD
@@ -23,7 +23,6 @@ go_library(
"//test/packetimpact/proto:posix_server_go_proto",
"@com_github_google_go-cmp//cmp:go_default_library",
"@com_github_google_go-cmp//cmp/cmpopts:go_default_library",
- "@com_github_imdario_mergo//:go_default_library",
"@com_github_mohae_deepcopy//:go_default_library",
"@org_golang_google_grpc//:go_default_library",
"@org_golang_google_grpc//keepalive:go_default_library",
@@ -37,5 +36,8 @@ go_test(
size = "small",
srcs = ["layers_test.go"],
library = ":testbench",
- deps = ["//pkg/tcpip"],
+ deps = [
+ "//pkg/tcpip",
+ "@com_github_mohae_deepcopy//:go_default_library",
+ ],
)