Skip to content

Commit

Permalink
tests: fix assert.throws() usage (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored and callmehiphop committed Aug 16, 2016
1 parent 5ed10e1 commit 7c04a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/google-cloud-vision/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ describe('Vision', function() {

assert.throws(function() {
vision.detect(IMAGE, type, assert.ifError);
}, 'Requested detection feature not found: ' + type);
}, /Requested detection feature not found: not-real-type/);
});

it('should format the correct config', function(done) {
Expand Down

0 comments on commit 7c04a2d

Please sign in to comment.