From 4b17721a33ee82118cbc4c5e6ec01b909a054076 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Wed, 20 Jan 2016 15:38:05 +0100 Subject: [PATCH] Sort tested methods alphabetically --- test/spec/ol/array.test.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/spec/ol/array.test.js b/test/spec/ol/array.test.js index 035824e045..c232ddc616 100644 --- a/test/spec/ol/array.test.js +++ b/test/spec/ol/array.test.js @@ -2,15 +2,6 @@ goog.provide('ol.test.array'); describe('ol.array', function() { - describe('numberSafeCompareFunction', function() { - it('sorts as expected', function() { - var arr = [40, 200, 3000]; - // default sort would yield [200, 3000, 40] - arr.sort(ol.array.numberSafeCompareFunction); - expect(arr).to.eql(arr); - }); - }); - describe('binaryFindNearest', function() { it('returns expected value', function() { var arr = [1000, 500, 100]; @@ -83,6 +74,15 @@ describe('ol.array', function() { }); }); + describe('numberSafeCompareFunction', function() { + it('sorts as expected', function() { + var arr = [40, 200, 3000]; + // default sort would yield [200, 3000, 40] + arr.sort(ol.array.numberSafeCompareFunction); + expect(arr).to.eql(arr); + }); + }); + describe('reverseSubArray', function() { it('returns expected value', function() { var arr;