Increase test coverage a touch

This commit is contained in:
kpdecker
2014-08-14 12:25:35 -05:00
parent 9ab31e1fc6
commit cb22ee5681
15 changed files with 186 additions and 44 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ global.shouldThrow = function(callback, type, msg) {
throw new Error('Type failure');
}
if (msg && !(msg.test ? msg.test(err.message) : msg === err.message)) {
throw new Error('Message failure');
equal(msg, err.message);
}
}
if (failed) {