mirror of
https://github.com/github/codeql.git
synced 2026-05-14 11:19:27 +02:00
Add Bazel build target for extractor_test.go
Generated by manually applying the output from CI's Gazelle check. This adds the go_test target for the new extractor_test.go file. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
load("@rules_go//go:def.bzl", "go_library")
|
||||
load("@rules_go//go:def.bzl", "go_library", "go_test")
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files")
|
||||
|
||||
@@ -60,3 +60,10 @@ pkg_files(
|
||||
},
|
||||
visibility = ["//go:__pkg__"],
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "extractor_test",
|
||||
srcs = ["extractor_test.go"],
|
||||
embed = [":extractor"],
|
||||
deps = ["@org_golang_x_tools//go/packages"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user