We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.end
1 parent faa51b5 commit da8ca46Copy full SHA for da8ca46
lib/test.js
@@ -151,7 +151,7 @@ Test.prototype.end = function (err) {
151
}
152
153
if (this.calledEnd) {
154
- this.fail('.end() called twice');
+ this.fail('.end() already called');
155
156
this.calledEnd = true;
157
this._end();
test/double_end.js
@@ -39,12 +39,12 @@ test(function (t) {
39
'TAP version 13',
40
'# double end',
41
'ok 1 should be equal',
42
- 'not ok 2 .end() called twice',
+ 'not ok 2 .end() already called',
43
' ---',
44
' operator: fail',
45
' ' + atExpected,
46
' stack: |-',
47
- ' Error: .end() called twice',
+ ' Error: .end() already called',
48
' [... stack stripped ...]',
49
' ' + stackExpected,
50
0 commit comments