fix: 保留 apply-patch CRLF 完整性
This commit is contained in:
@@ -208,6 +208,8 @@ describe("ssh host apply-patch fs backend", () => {
|
||||
originalSha256: sha256Hex(text),
|
||||
finalBytes: Buffer.byteLength("alpha\nnew\nomega\n", "utf8"),
|
||||
finalSha256: sha256Hex("alpha\nnew\nomega\n"),
|
||||
newlineStyle: "lf",
|
||||
encodingStyle: "utf8",
|
||||
replacements: [[1, 1, ["new"]]],
|
||||
},
|
||||
]]));
|
||||
|
||||
Reference in New Issue
Block a user