aboutsummaryrefslogtreecommitdiff
path: root/tests/selects_tests.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/selects_tests.bzl')
-rw-r--r--tests/selects_tests.bzl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/selects_tests.bzl b/tests/selects_tests.bzl
index 28f3ac4..a7697f2 100644
--- a/tests/selects_tests.bzl
+++ b/tests/selects_tests.bzl
@@ -129,7 +129,10 @@ def _set_conditions(condition_list):
ans["//command_line_option:features"] = ["notmyfeature"]
return ans
-_BooleanInfo = provider()
+_BooleanInfo = provider(
+ doc = "value for boolean tests",
+ fields = ["value"],
+)
def _boolean_attr_impl(ctx):
return [_BooleanInfo(value = ctx.attr.myboolean)]
@@ -153,9 +156,6 @@ def _expect_doesnt_match(ctx):
asserts.equals(env, False, attrval)
return analysistest.end(env)
-def _config_setting_group_test(name, config_settings):
- return analysistest.make()
-
###################################################
# and_config_setting_group_matches_test
###################################################