summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp b/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
index b7b6eac94ed..1e24a784fd9 100644
--- a/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
+++ b/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
@@ -145,6 +145,10 @@ TEST_F("asTensorAttribute() returns nullptr", Fixture) {
EXPECT_TRUE(f.get_imported_attr()->asTensorAttribute() == nullptr);
}
+TEST_F("isImported() returns true", Fixture) {
+ EXPECT_TRUE(f.get_imported_attr()->isImported());
+}
+
TEST_F("Multi-valued integer attribute values can be retrieved via reference", Fixture) {
const std::vector<int64_t> doc3_values({1234});
const std::vector<int64_t> doc7_values({5678, 9876, 555, 777});