Skip to content

Commit 142a90c

Browse files
committed
Updated
1 parent 4024fc9 commit 142a90c

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
@@ -266,15 +266,15 @@ void test_sparsevec_from_string() {
266266

267267
assert_exception<pqxx::conversion_error>([] {
268268
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:4e38}/1");
269-
}, "Could not convert '4e38' to float: Value out of range.");
269+
});
270270

271271
assert_exception<pqxx::conversion_error>([] {
272272
auto unused = pqxx::from_string<pgvector::SparseVector>("{a:1}/1");
273273
}, "Could not convert 'a' to int: Invalid argument.");
274274

275275
assert_exception<pqxx::conversion_error>([] {
276276
auto unused = pqxx::from_string<pgvector::SparseVector>("{1:a}/1");
277-
}, "Could not convert 'a' to float: Invalid argument.");
277+
});
278278

279279
assert_exception<pqxx::conversion_error>([] {
280280
auto unused = pqxx::from_string<pgvector::SparseVector>("{}/a");

0 commit comments

Comments
 (0)