Skip to content

Commit 3e297cd

Browse files
committed
fix overly verbose assertions for warning logs
1 parent 836368d commit 3e297cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/datadog/ci/git/search_commits_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
expect { subject }
108108
.to raise_error(
109109
Datadog::CI::Git::SearchCommits::ApiError,
110-
"Invalid commit type response {\"id\"=>\"c7f893648f656339f62fb7b4d8a6ecdf7d063835\", \"type\"=>\"invalid\"}"
110+
/Invalid commit type response/
111111
)
112112
end
113113
end
@@ -169,7 +169,7 @@
169169
expect { subject }
170170
.to raise_error(
171171
Datadog::CI::Git::SearchCommits::ApiError,
172-
"Invalid commit type response {\"id\"=>\"c7f893648f656339f62fb7b4d8a6ecdf7d063835\"}"
172+
/Invalid commit type response/
173173
)
174174
end
175175
end

0 commit comments

Comments
 (0)