Skip to content

Commit 3653421

Browse files
committed
fix: normalize smoke test line endings
1 parent 62be517 commit 3653421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/create-tauri-ui-test-lib.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async function assertPathExists(targetPath, message) {
9494
}
9595

9696
async function readText(targetPath) {
97-
return fs.readFile(targetPath, "utf8");
97+
return (await fs.readFile(targetPath, "utf8")).replace(/\r\n/g, "\n");
9898
}
9999

100100
async function assertTextIncludes(targetPath, expected, message) {

0 commit comments

Comments
 (0)