diff --git a/packages/core/integration-tests/test/elm.js b/packages/core/integration-tests/test/elm.js index 7b61aeb178a..b6a461a0879 100644 --- a/packages/core/integration-tests/test/elm.js +++ b/packages/core/integration-tests/test/elm.js @@ -7,6 +7,7 @@ import { run, outputFS, } from '@parcel/test-utils'; +import {normalizePath} from '@parcel/utils'; describe('elm', function () { it('should produce a basic Elm bundle', async function () { @@ -95,7 +96,9 @@ describe('elm', function () { { message: '\n' + - '-- TYPE MISMATCH --------------- test/integration/elm-compile-error/src/Main.elm\n' + + `-- TYPE MISMATCH --------------- ${normalizePath( + 'test/integration/elm-compile-error/src/Main.elm', + )}\n` + '\n' + 'The 1st argument to `text` is not what I expect:\n' + '\n' + @@ -116,7 +119,9 @@ describe('elm', function () { { message: '\n' + - '-- TOO MANY ARGS --------------- test/integration/elm-compile-error/src/Main.elm\n' + + `-- TOO MANY ARGS --------------- ${normalizePath( + 'test/integration/elm-compile-error/src/Main.elm', + )}\n` + '\n' + 'The `text` function expects 1 argument, but it got 2 instead.\n' + '\n' +