We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a214eb8 commit 70cf79eCopy full SHA for 70cf79e
lib/vows.js
@@ -128,7 +128,7 @@ function addVow(/* description & callback */) {
128
} else if (args[0].callback && args[0].context) {
129
vow = args[0];
130
} else {
131
- throw new(Error)("wrong argument type for addVow()");
+ throw new(Error)("wrong argument type for addVow().");
132
}
133
134
return this.addListener("success", function () {
@@ -221,7 +221,7 @@ function addVows(tests) {
221
222
if (typeof(tests) === 'object') {
223
if ('topic' in tests) {
224
- throw new(Error)("Missing top-level context.");
+ throw new(Error)("missing top-level context.");
225
226
// Count the number of vows/promises expected to fire,
227
// so we know when the tests are over.
0 commit comments