Skip to content

Commit 39e76fe

Browse files
committed
Debug
1 parent 565c7f9 commit 39e76fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/pqxx_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,7 @@ void test_sparsevec_from_string() {
288288
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:4e38}/1");
289289
assert(false);
290290
} catch (const pqxx::conversion_error& e) {
291-
std::cout << e.what() << std::endl;
292-
assert(std::string_view(e.what()) == "Could not convert string to numeric value: '4e38'.");
291+
assert(std::string_view(e.what()) == "Could not convert string to numeric value: '4e38'." || std::string_view(e.what()) == "Could not convert '4e38' to float");
293292
}
294293

295294
try {

0 commit comments

Comments
 (0)