@@ -1118,7 +1118,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
11181118
11191119 REQUIRE (dependency_manager.has_pending ());
11201120 idlist_t const way_ids = dependency_manager.get_pending_way_ids ();
1121- REQUIRE_THAT (way_ids, Catch::Equals< osmid_t >( {20 }) );
1121+ REQUIRE (way_ids == idlist_t {20 });
11221122
11231123 check_way (mid, way20);
11241124 check_way_nodes (mid, way20.id (), {&node10a, &node11});
@@ -1153,7 +1153,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
11531153
11541154 REQUIRE (dependency_manager.has_pending ());
11551155 idlist_t const way_ids = dependency_manager.get_pending_way_ids ();
1156- REQUIRE_THAT (way_ids, Catch::Equals< osmid_t >( {20 , 22 }) );
1156+ REQUIRE (way_ids == idlist_t {20 , 22 });
11571157
11581158 check_way (mid, way20);
11591159 check_way_nodes (mid, way20.id (), {&node10a, &node11});
@@ -1265,7 +1265,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in relation", "", options_slim_default,
12651265 REQUIRE (dependency_manager.has_pending ());
12661266 idlist_t const rel_ids = dependency_manager.get_pending_relation_ids ();
12671267
1268- REQUIRE_THAT (rel_ids, Catch::Equals< osmid_t >( {30 }) );
1268+ REQUIRE (rel_ids == idlist_t {30 });
12691269 check_relation (mid, rel30);
12701270 }
12711271
@@ -1286,9 +1286,9 @@ TEMPLATE_TEST_CASE("middle: change nodes in relation", "", options_slim_default,
12861286
12871287 REQUIRE (dependency_manager.has_pending ());
12881288 idlist_t const way_ids = dependency_manager.get_pending_way_ids ();
1289- REQUIRE_THAT (way_ids, Catch::Equals< osmid_t >( {20 }) );
1289+ REQUIRE (way_ids == idlist_t {20 });
12901290 idlist_t const rel_ids = dependency_manager.get_pending_relation_ids ();
1291- REQUIRE_THAT (rel_ids, Catch::Equals< osmid_t >( {31 }) );
1291+ REQUIRE (rel_ids == idlist_t {31 });
12921292 check_relation (mid, rel31);
12931293 }
12941294}
0 commit comments