8000 Debug · pgvector/pgvector-cpp@8f2f0be · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f2f0be

Browse files
committed
Debug
1 parent 356d9ef commit 8f2f0be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/pqxx_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <cassert>
2+
#include <iostream>
23
#include <optional>
34
#include <string>
45
#include <vector>
@@ -245,6 +246,7 @@ void test_sparsevec_from_string() {
245246
auto unused = pqxx::from_string<pgvector::SparseVector>("{ }/");
246247
assert(false);
247248
} catch (const pqxx::conversion_error& e) {
249+
std::cout << e.what() << std::endl;
248250
assert(std::string_view(e.what()) == "stoi: no conversion");
249251
}
250252

0 commit comments

Comments
 (0)
0