From 93a237850b1006e4f37e31937e6f6d554f578ac3 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 5 Oct 2015 14:25:25 +0100 Subject: [PATCH] fix spatial_index test after de9de659c3772fdf232a3c24f5c254a0a86046b9 --- test/unit/datasource/spatial_index.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/datasource/spatial_index.cpp b/test/unit/datasource/spatial_index.cpp index 410487e28..96420a296 100644 --- a/test/unit/datasource/spatial_index.cpp +++ b/test/unit/datasource/spatial_index.cpp @@ -45,7 +45,7 @@ TEST_CASE("spatial_index") tree.insert(4, mapnik::box2d(1,1,2,2)); tree.trim(); - REQUIRE(tree.count() == 10); + REQUIRE(tree.count() == 5); REQUIRE(tree.count_items() == 4); // serialise @@ -53,7 +53,7 @@ TEST_CASE("spatial_index") tree.write(out); out.flush(); - REQUIRE(out.str().length() == 472); + REQUIRE(out.str().length() == 252); REQUIRE(out.str().at(0) == 'm'); // read bounding box