Skip to content

Commit 2a97d8e

Browse files
committed
Fixed CI
1 parent 70ca395 commit 2a97d8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pqxx_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void test_sparsevec_from_string() {
287287
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:4e38}/1");
288288
assert(false);
289289
} catch (const pqxx::conversion_error& e) {
290-
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: Invalid argument.");
290+
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" || std::string_view(e.what()) == "Could not convert '4e38' to float: Value out of range.");
291291
}
292292

293293
try {
@@ -301,7 +301,7 @@ void test_sparsevec_from_string() {
301301
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:a}/1");
302302
assert(false);
303303
} catch (const pqxx::conversion_error& e) {
304-
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");
304+
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" || std::string_view(e.what()) == "Could not convert 'a' to float: Invalid argument.");
305305
}
306306

307307
try {

0 commit comments

Comments
 (0)