Skip to content

Commit 3399752

Browse files
committed
tests: add validate_codeowners_strict
1 parent b67a05d commit 3399752

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

tests/BUILD

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,19 @@ sh_test(
7979
],
8080
)
8181

82+
sh_test(
83+
name = "validate_codeowners_strict",
84+
srcs = ["//tools:diff.sh"],
85+
args = [
86+
"$(location :github_codeowners_strict.out)",
87+
"$(location github_codeowners_golden)",
88+
],
89+
data = [
90+
"github_codeowners_golden",
91+
":github_codeowners_strict.out",
92+
],
93+
)
94+
8295
generate_codeowners(
8396
name = "github_codeowners_other_order",
8497
owners = [
@@ -128,7 +141,6 @@ codeowners(
128141
tags = ["manual"],
129142
)
130143

131-
132144
failure_testing_test(
133145
name = "both_pattern_and_patterns",
134146
expected = "Both pattern and patterns can not be set at the same time.",

0 commit comments

Comments
 (0)