diff options
Diffstat (limited to 'searchcommon/src/tests/schema/schema_test.cpp')
-rw-r--r-- | searchcommon/src/tests/schema/schema_test.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/searchcommon/src/tests/schema/schema_test.cpp b/searchcommon/src/tests/schema/schema_test.cpp index 8a70e4f12df..e9997c2e70d 100644 --- a/searchcommon/src/tests/schema/schema_test.cpp +++ b/searchcommon/src/tests/schema/schema_test.cpp @@ -1,16 +1,16 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/log/log.h> #include <vespa/vespalib/stllike/string.h> #include <fstream> #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/config/common/configparser.h> #include <vespa/searchcommon/common/schemaconfigurer.h> +#include <vespa/searchcommon/common/schema.h> +#include <vespa/log/log.h> LOG_SETUP("schema_test"); using vespalib::string; -namespace search { -namespace index { +namespace search::index { using schema::DataType; using schema::CollectionType; @@ -426,7 +426,6 @@ TEST("require that schema can be built with imported attribute fields") TEST_DO(assertField(SIAF("regular", DataType::INT32, CollectionType::SINGLE), regular[0])); } -} // namespace index -} // namespace search +} TEST_MAIN() { TEST_RUN_ALL(); } |