aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/aspect_test/input.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/aspect_test/input.bzl')
-rw-r--r--test/testdata/aspect_test/input.bzl10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/testdata/aspect_test/input.bzl b/test/testdata/aspect_test/input.bzl
index 38ddde0..72e35a5 100644
--- a/test/testdata/aspect_test/input.bzl
+++ b/test/testdata/aspect_test/input.bzl
@@ -6,15 +6,11 @@ def my_aspect_impl(ctx):
my_aspect = aspect(
implementation = my_aspect_impl,
- doc = """
- This is my aspect.
-
- It does stuff.
- """,
+ doc = "This is my aspect. It does stuff.",
attr_aspects = ["deps", "attr_aspect"],
attrs = {
- "first": attr.bool(mandatory = True),
- "second": attr.string(mandatory = True),
+ "first": attr.label(mandatory = True, allow_single_file = True),
+ "second": attr.string_dict(mandatory = True),
},
)