Skip to content

Commit

Permalink
Update test to reflect new wording of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mattboutet committed Feb 20, 2023
1 parent 17a1daf commit d02fa5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/index.js
Expand Up @@ -1090,7 +1090,8 @@ describe('hpal', () => {

expect(err).to.be.instanceof(Error);
expect(err).to.not.be.instanceof(DisplayError);
expect(err.message).to.contain('Cannot read property \'version\' of null');
expect(err.message).to.contain('Cannot read properties of null (reading \'version\')');

});

it('errors when can\'t find a manifest for an unknown reason.', async (flags) => {
Expand Down

0 comments on commit d02fa5f

Please sign in to comment.