diff options
-rw-r--r-- | test/cli/install/bun-link.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cli/install/bun-link.test.ts b/test/cli/install/bun-link.test.ts index e79f09aaf..39872b072 100644 --- a/test/cli/install/bun-link.test.ts +++ b/test/cli/install/bun-link.test.ts @@ -60,7 +60,7 @@ it("should link package", async () => { const err1 = await new Response(stderr1).text(); expect(err1.replace(/^(.*?) v[^\n]+/, "$1").split(/\r?\n/)).toEqual(["bun link", ""]); expect(stdout1).toBeDefined(); - expect(await new Response(stdout1).text()).toContain(`Success! Registered \\"${link_name}\\"`); + expect(await new Response(stdout1).text()).toContain(`Success! Registered "${link_name}"`); expect(await exited1).toBe(0); const { @@ -161,7 +161,7 @@ it("should link scoped package", async () => { const err1 = await new Response(stderr1).text(); expect(err1.replace(/^(.*?) v[^\n]+/, "$1").split(/\r?\n/)).toEqual(["bun link", ""]); expect(stdout1).toBeDefined(); - expect(await new Response(stdout1).text()).toContain(`Success! Registered \\"${link_name}\\"`); + expect(await new Response(stdout1).text()).toContain(`Success! Registered "${link_name}"`); expect(await exited1).toBe(0); const { @@ -269,7 +269,7 @@ it("should link dependency without crashing", async () => { const err1 = await new Response(stderr1).text(); expect(err1.replace(/^(.*?) v[^\n]+/, "$1").split(/\r?\n/)).toEqual(["bun link", ""]); expect(stdout1).toBeDefined(); - expect(await new Response(stdout1).text()).toContain(`Success! Registered \\"${link_name}\\"`); + expect(await new Response(stdout1).text()).toContain(`Success! Registered "${link_name}"`); expect(await exited1).toBe(0); const { |