[Pkg-javascript-commits] [node-tap-mocha-reporter] 06/137: tostring should be a function, not a string
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Sep 7 09:49:21 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-mocha-reporter.
commit 5d8892ed497bfc1d9381e4f2162a803627fb6741
Author: isaacs <i at izs.me>
Date: Fri Apr 10 15:24:34 2015 -0700
tostring should be a function, not a string
---
lib/test.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/test.js b/lib/test.js
index 4511fdb..19ebe42 100644
--- a/lib/test.js
+++ b/lib/test.js
@@ -24,5 +24,7 @@ Test.prototype.slow = function (ms){
}
Test.prototype.fn = {
- toString: 'function () {}'
+ toString: function () {
+ return 'function () {}'
+ }
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap-mocha-reporter.git
More information about the Pkg-javascript-commits
mailing list