diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-10-15 12:00:32 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-10-15 12:00:32 +0000 |
commit | 73e810c5ccb25f1e24d1832684be52d4f07badfc (patch) | |
tree | 03195305784de6679adc9855193d842a82713eac | |
parent | 5824d277f0aad866643431af7610f808d9d9198c (diff) |
fix spec
-rw-r--r-- | searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp index aa2abce57f3..5e6d8cf1659 100644 --- a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp +++ b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp @@ -452,7 +452,7 @@ TEST_F("require that tensor modify update is applied", f.setTensor(TensorSpec(f.type).add({{"x", 0}}, 3).add({{"x", 1}}, 5)); f.applyValueUpdate(*f.attribute, 1, TensorModifyUpdate(TensorModifyUpdate::Operation::REPLACE, - makeTensorFieldValue(TensorSpec("tensor(x{})").add({{"x", 0}}, 7)))); + makeTensorFieldValue(TensorSpec("tensor(x{})").add({{"x", "0"}}, 7)))); f.assertTensor(TensorSpec(f.type).add({{"x", 0}}, 7).add({{"x", 1}}, 5)); } |