diff --git a/test/unit/datasource/geojson.cpp b/test/unit/datasource/geojson.cpp index 2ed99d9e2..2b09f1443 100644 --- a/test/unit/datasource/geojson.cpp +++ b/test/unit/datasource/geojson.cpp @@ -824,7 +824,7 @@ TEST_CASE("geojson") { std::initializer_list attrs = { attr{"name", tr.transcode("Test")}, attr{"NOM_FR", tr.transcode("Québec")}, - attr{"boolean", mapnik::value_bool("true")}, + attr{"boolean", mapnik::value_bool(true)}, attr{"description", tr.transcode("Test: \u005C")}, attr{"double", mapnik::value_double(1.1)}, attr{"int", mapnik::value_integer(1)}, diff --git a/test/unit/datasource/topojson.cpp b/test/unit/datasource/topojson.cpp index a7d793338..372cd187f 100644 --- a/test/unit/datasource/topojson.cpp +++ b/test/unit/datasource/topojson.cpp @@ -100,7 +100,7 @@ TEST_CASE("topojson") std::initializer_list attrs = { attr{"name", tr.transcode("Test")}, attr{"NOM_FR", tr.transcode("Québec")}, - attr{"boolean", mapnik::value_bool("true")}, + attr{"boolean", mapnik::value_bool(true)}, attr{"description", tr.transcode("Test: \u005C")}, attr{"double", mapnik::value_double(1.1)}, attr{"int", mapnik::value_integer(1)},