File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
34go_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" ,
Original file line number Diff line number Diff line change 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
34go_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" ,
You can’t perform that action at this time.
0 commit comments