We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0bd4c commit ff8b60cCopy full SHA for ff8b60c
cpp-linter/tests/comments.rs
@@ -121,12 +121,11 @@ async fn setup(lib_root: &Path, test_params: &TestParams) {
121
200
122
});
123
if test_params.bad_existing_comments {
124
- mock = mock.with_body(String::new()).create();
+ mock = mock.with_body(String::new());
125
} else {
126
- mock = mock
127
- .with_body_from_file(format!("{asset_path}push_comments_{SHA}.json"))
128
- .create();
+ mock = mock.with_body_from_file(format!("{asset_path}push_comments_{SHA}.json"));
129
}
+ mock = mock.create();
130
mocks.push(mock);
131
132
let pr_endpoint = format!("/repos/{REPO}/issues/{PR}/comments");
0 commit comments