diff --git a/editor/editor_tests/editor_config_test.cpp b/editor/editor_tests/editor_config_test.cpp index e609043f06..d01c1c1b5c 100644 --- a/editor/editor_tests/editor_config_test.cpp +++ b/editor/editor_tests/editor_config_test.cpp @@ -82,8 +82,12 @@ UNIT_TEST(EditorConfig_GetTypesThatCanBeAdded) config.SetConfig(doc); auto const types = config.GetTypesThatCanBeAdded(); + // A sample addable type. TEST(find(begin(types), end(types), "amenity-cafe") != end(types), ()); - TEST(find(begin(types), end(types), "natural-peak") == end(types), ()); - // Marked as "editable=no". + // A sample line type. + TEST(find(begin(types), end(types), "highway-primary") == end(types), ()); + // A sample type marked as can_add="no". + TEST(find(begin(types), end(types), "landuse-cemetery") == end(types), ()); + // A sample type marked as editable="no". TEST(find(begin(types), end(types), "aeroway-airport") == end(types), ()); }