From 7732ea3e21d91c1305be7a410fbb21006a72196d Mon Sep 17 00:00:00 2001 From: isaacs <i@izs.me> Date: Thu, 28 Mar 2024 12:10:02 -0700 Subject: [PATCH] fix test-regen bug --- test/00-setup.ts | 2 +- test/bash-results.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/00-setup.ts b/test/00-setup.ts index 3e88194f..3b425ce9 100644 --- a/test/00-setup.ts +++ b/test/00-setup.ts @@ -140,7 +140,7 @@ if (process.platform === 'win32' || !process.env.TEST_REGEN) { import { fileURLToPath } from 'url' if (process.argv[1] === fileURLToPath(import.meta.url)) { - console.log('TAP version 14\\n1..1\nok\\n') + console.log('TAP version 14\\n1..1\\nok\\n') } export const bashResults:{ [path: string]: string[] } = ${ diff --git a/test/bash-results.ts b/test/bash-results.ts index 7a75d6ce..a1753a3d 100644 --- a/test/bash-results.ts +++ b/test/bash-results.ts @@ -1,6 +1,6 @@ +// generated via 'npm run test-regen' import { fileURLToPath } from 'url' -// generated via 'npm run test-regen' if (process.argv[1] === fileURLToPath(import.meta.url)) { console.log('TAP version 14\n1..1\nok\n') }