From 75e24efe2cb4249bf6061051c61d9f31396606c9 Mon Sep 17 00:00:00 2001 From: Robert Bindar Date: Fri, 29 Mar 2024 17:27:10 +0200 Subject: [PATCH] fix test --- test/src/unit-vfs.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index 31ec50110cf8..eaa14b44f644 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -445,7 +445,8 @@ TEMPLATE_LIST_TEST_CASE("VFS: File I/O", "[vfs][uri][file_io]", AllBackends) { // Getting file_size on a nonexistent blob shouldn't crash on Azure uint64_t nbytes = 0; URI non_existent = URI(path.to_string() + "non_existent"); - require_tiledb_ok(vfs.file_size(non_existent, &nbytes)); + check_tiledb_error_with( + vfs.file_size(non_existent, &nbytes), "Cannot get file size"); // Set up bool exists = false;