Skip to content

Commit

Permalink
tests: Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 authored and Rob Cresswell committed Jul 27, 2018
1 parent f0a43a5 commit d325836
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/acceptance/cli.acceptance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,12 @@ test('`test /` test for non-existent with path specified', function (t) {
})
.catch(function (error) {
t.pass('throws error');
t.match(error.message, 'Could not autodetect package manager for /',
'shows error message');
t.match(error.message, 'Could not detect supported target files in /.' +
'\nPlease see our documentation for supported' +
' languages and target files: ' +
'https://support.snyk.io/getting-started/languages-support' +
' and make sure you' +
' are in the right directory.');
});
});

Expand Down

0 comments on commit d325836

Please sign in to comment.