Skip to content

Commit be67583

Browse files
committed
Debug
1 parent 39e76fe commit be67583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pqxx_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void test_sparsevec_from_string() {
302302
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:a}/1");
303303
assert(false);
304304
} catch (const pqxx::conversion_error& e) {
305-
assert(std::string_view(e.what()) == "Could not convert string to numeric value: 'a'.");
305+
assert(std::string_view(e.what()) == "Could not convert string to numeric value: 'a'." || std::string_view(e.what()) == "Could not convert 'a' to float");
306306
}
307307

308308
try {

0 commit comments

Comments
 (0)