Skip to content

Commit 2332bda

Browse files
committed
Use EXPECT_FALSE
1 parent 3f1cefb commit 2332bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/flight/sql/odbc/tests/connection_attr_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ TYPED_TEST(ConnectionAttributeTest, TestSQLGetConnectAttrTraceFileDMOnly) {
177177
out_str_len /= arrow::flight::sql::odbc::GetSqlWCharSize();
178178
std::string out_connection_string =
179179
ODBC::SqlWcharToString(out_str, static_cast<SQLSMALLINT>(out_str_len));
180-
EXPECT_TRUE(!out_connection_string.empty());
180+
EXPECT_FALSE(out_connection_string.empty());
181181
}
182182

183183
TYPED_TEST(ConnectionAttributeTest, TestSQLGetConnectAttrTranslateLibUnsupported) {

0 commit comments

Comments
 (0)