Skip to content

Commit 3ec1a81

Browse files
committed
fix
1 parent e88d68a commit 3ec1a81

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/e2e/run.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import { argv } from "node:process";
66
import { readFileSync } from "node:fs";
77

88
function getDiff(s1, s2) {
9-
const handleEscape = (c) => c.split("\n").map(l => l.length === 0 ? "\xB6" : l).join("\n")
9+
const handleEscape = (c) =>
10+
c
11+
.split("\n")
12+
.map((l) => (l.length === 0 ? "\xB6" : l))
13+
.join("\n");
1014
return diffLines(s1, s2)
1115
.map((part) => {
1216
if (part.added) {

0 commit comments

Comments
 (0)