anything and stringMatching have custom pretty-print now.

This commit is contained in:
slackersoft
2015-01-21 12:59:01 -08:00
parent 6ae054c3e2
commit 1dd4af3835
4 changed files with 20 additions and 0 deletions

View File

@@ -12,5 +12,9 @@ getJasmineRequireObj().StringMatching = function(j$) {
return this.regexp.test(other);
};
StringMatching.prototype.jasmineToString = function() {
return "<jasmine.stringMatching(" + this.regexp + ")>";
};
return StringMatching;
};