Skip to content

Commit

Permalink
Follow-up commit
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Jul 14, 2020
1 parent 2d96679 commit 1ef053d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ test('no uncaught parse errors', async t => {
});

await t.throwsAsync(got.head(`http://localhost:${(server.address() as net.AddressInfo).port}`), {
message: 'Parse Error'
message: /^Parse Error/
});

await close();
Expand Down

0 comments on commit 1ef053d

Please sign in to comment.