Skip to content

Commit

Permalink
Update main.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Dec 23, 2024
1 parent 23bc5fa commit def224d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test("matches python platformdirs", async (t) => {
// Strip first line which has version info like "-- platformdirs 1.2.3 --".
const expected = (
await $`uv run --with platformdirs python -m platformdirs`
).stdout.replace(/^.*/m, "");
const actual = (await $`node src/main.js`).stdout.replace(/^.*/m, "");
).stdout.replace(/^.*\n/, "");
const actual = (await $`node src/main.js`).stdout.replace(/^.*\n/, "");
assert.equal(actual, expected);
});

0 comments on commit def224d

Please sign in to comment.