Skip to content

Commit

Permalink
tests: add validate_codeowners_strict
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Nov 22, 2023
1 parent b67a05d commit 3399752
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ sh_test(
],
)

sh_test(
name = "validate_codeowners_strict",
srcs = ["//tools:diff.sh"],
args = [
"$(location :github_codeowners_strict.out)",
"$(location github_codeowners_golden)",
],
data = [
"github_codeowners_golden",
":github_codeowners_strict.out",
],
)

generate_codeowners(
name = "github_codeowners_other_order",
owners = [
Expand Down Expand Up @@ -128,7 +141,6 @@ codeowners(
tags = ["manual"],
)


failure_testing_test(
name = "both_pattern_and_patterns",
expected = "Both pattern and patterns can not be set at the same time.",
Expand Down

0 comments on commit 3399752

Please sign in to comment.