Rename jasmineMatches to asymmetricMatch
- This should be more clear what it is for [finish #82295210]
This commit is contained in:
@@ -4,7 +4,7 @@ getJasmineRequireObj().Any = function() {
|
||||
this.expectedObject = expectedObject;
|
||||
}
|
||||
|
||||
Any.prototype.jasmineMatches = function(other) {
|
||||
Any.prototype.asymmetricMatch = function(other) {
|
||||
if (this.expectedObject == String) {
|
||||
return typeof other == 'string' || other instanceof String;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user