summaryrefslogtreecommitdiffstats
path: root/document/src/tests/documentupdatetestcase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/documentupdatetestcase.cpp')
-rw-r--r--document/src/tests/documentupdatetestcase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp
index 71bc545897b..b9568d546c5 100644
--- a/document/src/tests/documentupdatetestcase.cpp
+++ b/document/src/tests/documentupdatetestcase.cpp
@@ -1042,7 +1042,7 @@ TEST(DocumentUpdateTest, tensor_remove_update_throws_if_address_tensor_is_not_sp
auto addressTensor = f.makeTensor(f.spec().add({{"x", 0}}, 2)); // creates a dense address tensor
ASSERT_THROW(
f.assertRoundtripSerialize(TensorRemoveUpdate(std::move(addressTensor))),
- vespalib::IllegalStateException);
+ document::WrongTensorTypeException);
}
TEST(DocumentUpdateTest, tensor_modify_update_throws_if_cells_tensor_is_not_sparse)