From 0ef8a6c08408cc37111bc18c51e015fe3b8cc145 Mon Sep 17 00:00:00 2001 From: Pedro Barco Date: Sun, 25 Feb 2024 13:58:32 +0000 Subject: [PATCH] fix: wrap generation test labels with Label() --- internal/generationtest/generationtest.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/generationtest/generationtest.bzl b/internal/generationtest/generationtest.bzl index b445f85cf..5b26ee332 100644 --- a/internal/generationtest/generationtest.bzl +++ b/internal/generationtest/generationtest.bzl @@ -59,7 +59,7 @@ def gazelle_generation_test(name, gazelle_binary, test_data, build_in_suffix = " srcs = [Label("//internal/generationtest:generation_test.go")], deps = [ Label("//testtools"), - "@io_bazel_rules_go//go/tools/bazel:go_default_library", + Label("@io_bazel_rules_go//go/tools/bazel:go_default_library"), ], args = [ "-gazelle_binary_path=$(rootpath %s)" % gazelle_binary,