Skip to content

Commit 2a2277a

Browse files
committed
Fix ExpectError message
Signed-off-by: Timo Sand <[email protected]>
1 parent a1a9a68 commit 2a2277a

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
@@ -672,7 +672,7 @@ resource "github_organization_ruleset" "test" {
672672
Steps: []resource.TestStep{
673673
{
674674
Config: config,
675-
ExpectError: regexp.MustCompile("rule .* is only valid for push target"),
675+
ExpectError: regexp.MustCompile("rule .* is not valid for branch target"),
676676
},
677677
},
678678
})

0 commit comments

Comments
 (0)