Skip to content

Commit 55cc83c

Browse files
test(server): preserve control character quoting in patches
1 parent b575824 commit 55cc83c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,10 @@ it.layer(layerTest)("GitVcsDriver core integration", (it) => {
20992099
deletions: 0,
21002100
});
21012101
if ((yield* HostProcess.Platform) !== "win32") {
2102+
assert.include(
2103+
branch.diff,
2104+
'diff --git "a/tab\\tand\\nnewline.txt" "b/tab\\tand\\nnewline.txt"',
2105+
);
21022106
assert.deepInclude(branch.files ?? [], {
21032107
path: "tab\tand\nnewline.txt",
21042108
previousPath: null,

0 commit comments

Comments
 (0)