Skip to content

Commit 10baa83

Browse files
committed
Fix ExpectError message
Signed-off-by: Timo Sand <[email protected]>
1 parent bfa4c88 commit 10baa83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/resource_github_organization_ruleset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ func TestGithubOrganizationRulesets(t *testing.T) {
818818
Steps: []resource.TestStep{
819819
{
820820
Config: config,
821-
ExpectError: regexp.MustCompile("rule .* is only valid for push target"),
821+
ExpectError: regexp.MustCompile("rule .* is not valid for branch target"),
822822
},
823823
},
824824
})

0 commit comments

Comments
 (0)