Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Durran Jordan <durran@gmail.com>
  • Loading branch information
sophiebits and durran authored Aug 27, 2024
1 parent c53e517 commit 16e0292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ describe('zstd', () => {
try {
await decompress(Buffer.from('invalid'));
} catch (error) {
expect(error.message).to.be('zstd: Unknown frame descriptor');
expect(error.stack).to.match(/at decompress/);
expect(error.message).to.equal('zstd: Unknown frame descriptor');
expect(error.stack).to.match(/module.exports.decompress/);
}
});
});
Expand Down

0 comments on commit 16e0292

Please sign in to comment.