mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
Upgrade CATCH header to v2
And update all uses of CHECK_THROWS_AS() to not use reference but the expected exception type itself, as otherwise the code doesn't compile any longer.
This commit is contained in:
@@ -682,7 +682,7 @@ TEST_CASE("PostgreSQL JSON", "[postgresql][json]")
|
||||
|
||||
CHECK_THROWS_AS((
|
||||
sql << "insert into soci_json_test (data) values(:data)",use(invalid_input)),
|
||||
soci_error&
|
||||
soci_error
|
||||
);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user