Skip to content

Commit

Permalink
Fix JSON change of error to Unexpected non-whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinGrote committed Oct 10, 2024
1 parent 326926d commit d6fda9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powershell.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('jsonParseTransform', () => {
await pipeline(source, jsonPipe)
} catch (err) {
const result = err as Error
expect(result.message).to.match(/Unexpected token :/)
expect(result.message).to.match(/Unexpected non-whitespace character/)
}
})
})
Expand Down

0 comments on commit d6fda9d

Please sign in to comment.