From c012afdbaef528f0ffd8d4e02a716866b9e08069 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 30 Apr 2013 18:08:24 +0200 Subject: [PATCH] Remove unused Assertion#intersect --- test/expect-0.2.0-ol3/expect.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/expect-0.2.0-ol3/expect.js b/test/expect-0.2.0-ol3/expect.js index 6c2ec48248..fef29752f4 100644 --- a/test/expect-0.2.0-ol3/expect.js +++ b/test/expect-0.2.0-ol3/expect.js @@ -492,23 +492,6 @@ 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. *