Skip to content

Commit

Permalink
Fix Postgres unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
zann1x committed Jan 8, 2023
1 parent c90a1a5 commit ed50d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/postgresql/test-postgresql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ TEST_CASE("test_enum_with_explicit_custom_type_string_rowset", "[postgresql][bin
statement s2 = (sql.prepare << "SELECT Type FROM soci_test;");

s1.execute(false);

soci::row result;
s2.define_and_bind();
s2.exchange_for_rowset(soci::into(result));
Expand Down Expand Up @@ -1204,7 +1204,7 @@ struct test_enum_with_explicit_custom_type_int_rowset : table_creator_base

try
{
sql << "CREATE TABLE soci_test( Type smallint)";
sql << "CREATE TABLE soci_test( Type integer)";
;
}
catch (...)
Expand Down

0 comments on commit ed50d90

Please sign in to comment.