sb.append("+new content").append("\n");
sb.append("\\ No newline at end of file").append("\n");
sb.append(SIMPLE_PATCH_CONTENT);
// update patch
CreatePatchOperation op = new CreatePatchOperation(testRepository.getRepository(), null);
op.updateWorkspacePatchPrefixes(sb, diffFmt);
// add workspace header
StringBuilder sb1 = new StringBuilder("### Eclipse Workspace Patch 1.0\n#P ")
.append(project.getProject().getName()).append("\n").append(sb);
assertPatch(SIMPLE_WORKSPACE_PATCH_CONTENT, sb1.toString());