Skip to content

Commit 8609414

Browse files
committed
updated BUILD.bazel
1 parent c6f2ed9 commit 8609414

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/notableevents/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
load("@rules_go//go:def.bzl", "go_library", "go_test")
1+
load("@rules_go//go:def.bzl", "go_library")
2+
load("//bazel/rules/go:dd_agent_go_test.bzl", "dd_agent_go_test")
23

34
go_library(
45
name = "notableevents",
@@ -41,7 +42,7 @@ go_library(
4142
}),
4243
)
4344

44-
go_test(
45+
dd_agent_go_test(
4546
name = "notableevents_test",
4647
srcs = [
4748
"collector_darwin_test.go",
@@ -51,7 +52,6 @@ go_test(
5152
"watcher_darwin_test.go",
5253
],
5354
embed = [":notableevents"],
54-
gotags = ["test"],
5555
deps = select({
5656
"@rules_go//go/platform:darwin": [
5757
"@com_github_stretchr_testify//assert",

pkg/notableevents/types/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
load("@rules_go//go:def.bzl", "go_library", "go_test")
1+
load("@rules_go//go:def.bzl", "go_library")
2+
load("//bazel/rules/go:dd_agent_go_test.bzl", "dd_agent_go_test")
23

34
go_library(
45
name = "types",
@@ -7,11 +8,10 @@ go_library(
78
visibility = ["//visibility:public"],
89
)
910

10-
go_test(
11+
dd_agent_go_test(
1112
name = "types_test",
1213
srcs = ["event_test.go"],
1314
embed = [":types"],
14-
gotags = ["test"],
1515
deps = [
1616
"@com_github_stretchr_testify//assert",
1717
"@com_github_stretchr_testify//require",

0 commit comments

Comments
 (0)