Correct assertion message in binarySearch-test
This commit is contained in:
@@ -209,7 +209,7 @@ describe('ol.array', function() {
|
|||||||
describe('single element array with custom comparison function',
|
describe('single element array with custom comparison function',
|
||||||
function() {
|
function() {
|
||||||
var g = [1];
|
var g = [1];
|
||||||
it('should not find 1 at index 0', function() {
|
it('should find 1 at index 0', function() {
|
||||||
var pos = ol.array.binarySearch(g, 1, revNumCompare);
|
var pos = ol.array.binarySearch(g, 1, revNumCompare);
|
||||||
expect(pos).to.be(0);
|
expect(pos).to.be(0);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user