diff options
Diffstat (limited to 'searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp')
-rw-r--r-- | searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp index 8fc47725a1d..d041dde52a5 100644 --- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp +++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp @@ -363,10 +363,10 @@ Fixture::testEmptyTensor() Tensor::UP emptyTensor = tensorAttr.getEmptyTensor(); if (_denseTensors) { vespalib::string expSpec = expEmptyDenseTensorSpec(); - EXPECT_EQUAL(emptyTensor->getType(), ValueType::from_spec(expSpec)); + EXPECT_EQUAL(emptyTensor->type(), ValueType::from_spec(expSpec)); } else { - EXPECT_EQUAL(emptyTensor->getType(), tensorAttr.getConfig().tensorType()); - EXPECT_EQUAL(emptyTensor->getType(), ValueType::from_spec(_typeSpec)); + EXPECT_EQUAL(emptyTensor->type(), tensorAttr.getConfig().tensorType()); + EXPECT_EQUAL(emptyTensor->type(), ValueType::from_spec(_typeSpec)); } } |