Skip to content

Commit

Permalink
make sure jade error is instance of error
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Feb 14, 2014
1 parent f962084 commit 35d25e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test('should emit errors of jade correctly', function(t){
.pipe(task()
.on('error', function(err){
t.ok(err);
t.ok(err instanceof Error);
t.end();
}));
});

0 comments on commit 35d25e0

Please sign in to comment.