diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-10-15 12:54:50 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-10-15 12:54:50 +0000 |
commit | d5658226bf02ba1d8438c8c0e889cdf5ae679264 (patch) | |
tree | c7ef0e71e000d434624b10021bc669d05690c205 /searchlib | |
parent | 73e810c5ccb25f1e24d1832684be52d4f07badfc (diff) |
fix spec
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp index 82e1d5c2b48..b23277bee21 100644 --- a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp +++ b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp @@ -394,7 +394,7 @@ expect_empty_blueprint(AttributeVector::SP attr) TEST(AttributeBlueprintTest, empty_blueprint_is_created_when_nearest_neighbor_term_is_invalid) { - TensorSpec sparse_x = TensorSpec("tensor(x{})").add({{"x", 0}}, 3); + TensorSpec sparse_x = TensorSpec("tensor(x{})").add({{"x", "0"}}, 3); TensorSpec dense_y_2 = TensorSpec("tensor(y[2])").add({{"y", 0}}, 3).add({{"y", 1}}, 5); TensorSpec dense_x_3 = TensorSpec("tensor(x[3])").add({{"x", 0}}, 3).add({{"x", 1}}, 5).add({{"x", 2}}, 7); expect_empty_blueprint(make_int_attribute(field)); // attribute is not a tensor |