diff --git a/test/nodejs/constants.js b/test/nodejs/constants.js index 645917053..092020d74 100644 --- a/test/nodejs/constants.js +++ b/test/nodejs/constants.js @@ -10,7 +10,7 @@ exports.three_test_coordinates = [[7.41337, 43.72956], exports.two_test_coordinates = exports.three_test_coordinates.slice(0, 2) -exports.test_tile = {'at': [17059, 11948, 15], 'size': 114000}; +exports.test_tile = {'at': [17059, 11948, 15], 'size': 162422}; // Test files generated by the routing engine; check test/data diff --git a/test/nodejs/tile.js b/test/nodejs/tile.js index f76da5867..e8e4a272f 100644 --- a/test/nodejs/tile.js +++ b/test/nodejs/tile.js @@ -8,7 +8,7 @@ test.test('tile check size coarse', function(assert) { var osrm = new OSRM(data_path); osrm.tile(tile.at, function(err, result) { assert.ifError(err); - assert.ok(result.length > tile.size); + assert.equal(result.length, tile.size); }); });