anything and stringMatching have custom pretty-print now.
This commit is contained in:
@@ -35,4 +35,10 @@ describe("Anything", function() {
|
||||
|
||||
expect(anything.asymmetricMatch(null)).toBe(false);
|
||||
});
|
||||
|
||||
it("jasmineToString's itself", function() {
|
||||
var anything = new j$.Anything();
|
||||
|
||||
expect(anything.jasmineToString()).toEqual("<jasmine.anything>");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user