Remove unused Assertion#intersect
This commit is contained in:
@@ -492,23 +492,6 @@
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Assert that that objects intersect.
|
|
||||||
* FIXME this is ol3 specific
|
|
||||||
*
|
|
||||||
* @param {Object} other
|
|
||||||
*
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
Assertion.prototype.intersect =
|
|
||||||
Assertion.prototype.wentToSchoolWith = function(other) {
|
|
||||||
this.assert(
|
|
||||||
this.obj.intersects(other)
|
|
||||||
, function(){ return 'expected ' + i(this.obj) + ' to intersect ' + i(other) }
|
|
||||||
, function(){ return 'expected ' + i(this.obj) + ' not to intersect ' + i(other) });
|
|
||||||
return this;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assert that arrays have the same value.
|
* Assert that arrays have the same value.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user