Skip to content

Fix EXPECT_EQ() to have expected on the left and actual on the right - #117

Merged
justing-bq merged 1 commit into
apache-odbcfrom
expectVsActual
Oct 6, 2025
Merged

justing-bq merged 1 commit into
apache-odbcfrom
expectVsActual

Conversation

@justing-bq

Copy link
Copy Markdown

Rationale for this change

Google Test assumes that EXPECT_EQ() has the expected value as the left argument and the actual value as the right argument so we are fixing the tests to be consistent with this.

What changes are included in this PR?

Ensured that EXPECT_EQ() has the expected value as the left argument and the actual value as the right argument.

Are these changes tested?

N/A

Are there any user-facing changes?

No.

@justing-bq justing-bq closed this Oct 6, 2025
@justing-bq justing-bq reopened this Oct 6, 2025
Comment thread cpp/src/arrow/flight/sql/odbc/tests/tables_test.cc Outdated
Comment thread cpp/src/arrow/flight/sql/odbc/tests/tables_test.cc Outdated

@alinaliBQ alinaliBQ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justing-bq
justing-bq merged commit 29f08d6 into apache-odbc Oct 6, 2025
12 checks passed
@justing-bq
justing-bq deleted the expectVsActual branch October 20, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants