Skip to content

Commit

Permalink
actually fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Jul 2, 2024
1 parent df5c646 commit bb225c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c/driver/postgresql/copy/postgres_copy_writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ TEST(PostgresCopyUtilsTest, PostgresCopyWriteUInt8) {
ADBC_STATUS_OK);
ASSERT_EQ(adbc_validation::MakeBatch<uint8_t>(
&schema.value, &array.value, &na_error,
{0, (std::numeric_limits<uint8_t>::max()), std::nullopt}),
{0, (std::numeric_limits<uint8_t>::max)(), std::nullopt}),
ADBC_STATUS_OK);

PostgresCopyStreamWriteTester tester;
Expand Down Expand Up @@ -238,7 +238,7 @@ TEST(PostgresCopyUtilsTest, PostgresCopyWriteUInt16) {
ADBC_STATUS_OK);
ASSERT_EQ(adbc_validation::MakeBatch<uint16_t>(
&schema.value, &array.value, &na_error,
{0, (std::numeric_limits<uint16_t>::max()), std::nullopt}),
{0, (std::numeric_limits<uint16_t>::max)(), std::nullopt}),
ADBC_STATUS_OK);

PostgresCopyStreamWriteTester tester;
Expand Down Expand Up @@ -271,7 +271,7 @@ TEST(PostgresCopyUtilsTest, PostgresCopyWriteUInt32) {
ADBC_STATUS_OK);
ASSERT_EQ(adbc_validation::MakeBatch<uint32_t>(
&schema.value, &array.value, &na_error,
{0, (std::numeric_limits<uint32_t>::max()), std::nullopt}),
{0, (std::numeric_limits<uint32_t>::max)(), std::nullopt}),
ADBC_STATUS_OK);

PostgresCopyStreamWriteTester tester;
Expand Down

0 comments on commit bb225c4

Please sign in to comment.