[Pkg-javascript-commits] [node-tap] 102/186: correct currentAssert in t.resolves/resolveMatch
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 1 16:40:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-tap.
commit b300614d2c166574e73fc1e1dc5563ac3f84ae89
Author: isaacs <i at izs.me>
Date: Sun Nov 19 21:27:00 2017 -0800
correct currentAssert in t.resolves/resolveMatch
---
lib/test.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/test.js b/lib/test.js
index a4bee75..7bb3de2 100644
--- a/lib/test.js
+++ b/lib/test.js
@@ -1267,7 +1267,7 @@ class Test extends Base {
}
resolves (promise, message, extra) {
- this.currentAssert = Test.prototype.rejects
+ this.currentAssert = Test.prototype.resolves
if (message && typeof message === 'object')
extra = message, message = ''
@@ -1304,7 +1304,7 @@ class Test extends Base {
}
resolveMatch (promise, wanted, message, extra) {
- this.currentAssert = Test.prototype.rejects
+ this.currentAssert = Test.prototype.resolveMatch
if (message && typeof message === 'object')
extra = message, message = ''
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git
More information about the Pkg-javascript-commits
mailing list