Commit 980ca35f authored by Brad King's avatar Brad King
Browse files

src/test/types: Apply rustfmt

parent fcf93536
......@@ -314,11 +314,23 @@ fn check_merge_request_b(merge_request: &MergeRequest) {
assert_eq!(merge_request.squash, false);
assert_eq!(merge_request.merge_when_pipeline_succeeds, false);
assert_eq!(merge_request.merge_status, MergeStatus::CanBeMerged);
check_sha(merge_request.sha.as_ref(), "04e94ae667024a62a90179f395bfdc2b35f3efd2");
check_sha(
merge_request.sha.as_ref(),
"04e94ae667024a62a90179f395bfdc2b35f3efd2",
);
let diff_refs = merge_request.diff_refs.as_ref().unwrap();
check_sha(diff_refs.base_sha.as_ref(), "981262b03fc0149c1677ca51ea47b570e30d6a90");
check_sha(diff_refs.head_sha.as_ref(), "04e94ae667024a62a90179f395bfdc2b35f3efd2");
check_sha(diff_refs.start_sha.as_ref(), "981262b03fc0149c1677ca51ea47b570e30d6a90");
check_sha(
diff_refs.base_sha.as_ref(),
"981262b03fc0149c1677ca51ea47b570e30d6a90",
);
check_sha(
diff_refs.head_sha.as_ref(),
"04e94ae667024a62a90179f395bfdc2b35f3efd2",
);
check_sha(
diff_refs.start_sha.as_ref(),
"981262b03fc0149c1677ca51ea47b570e30d6a90",
);
assert_eq!(merge_request.merge_error, None);
assert_eq!(merge_request.rebase_in_progress, None);
assert_eq!(merge_request.merge_commit_sha, None);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment