Skip to content

Commit e635f13

Browse files
chrisghillCopilot
andauthored
Update pkg/provisioners/opentofu_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dcbfe06 commit e635f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/provisioners/opentofu_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ variable "bar" {
9696
if err == nil {
9797
t.Fatalf("Expected error but got none")
9898
}
99-
if !errors.Is(err, errors.New(tc.errString)) && !strings.Contains(err.Error(), tc.errString) {
99+
if !strings.Contains(err.Error(), tc.errString) {
100100
t.Fatalf("got error %s want %s", err.Error(), tc.errString)
101101
}
102102
}

0 commit comments

Comments
 (0)