Skip to content

Commit ccc0ae6

Browse files
author
Luca Forstner
committed
Fix test
1 parent 76b9504 commit ccc0ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/integration-tests/fixtures/release-value-with-quotes/release-value-with-quotes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { testIfNodeMajorVersionIsLessThan18 } from "../../utils/testIf";
66

77
function checkBundle(bundlePath: string): void {
88
const output = execSync(`node ${bundlePath}`, { encoding: "utf-8" });
9-
expect(output).toBe('i am a dangerous release value because I contain a "');
9+
expect(output.trimEnd()).toBe('"i am a dangerous release value because I contain a \\""');
1010
}
1111

1212
describe("Properly escapes release values before injecting", () => {

0 commit comments

Comments
 (0)