Skip to content

Commit 5fd5ef9

Browse files
committed
bump clang-tidy version for cpp-linter
1 parent 316f42a commit 5fd5ef9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
style: file
4949
tidy-checks: ''
50-
version: 19
50+
version: 22
5151
files-changed-only: true
5252
lines-changed-only: true
5353
thread-comments: true

test/parquet_schema_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,17 @@ TEST(HasFieldIds, PrimitiveNode) {
136136
TEST(HasFieldIds, GroupNode) {
137137
auto group_node_without_field_id =
138138
MakeGroupNode("test_group", {MakeInt32Node("c1"), MakeInt32Node("c2")});
139-
EXPECT_FALSE(HasFieldIds(group_node_without_field_id));
139+
ASSERT_FALSE(HasFieldIds(group_node_without_field_id));
140140

141141
auto group_node_with_full_field_id = MakeGroupNode(
142142
"test_group",
143143
{MakeInt32Node("c1", /*field_id=*/2), MakeInt32Node("c2", /*field_id=*/3)},
144144
/*field_id=*/1);
145-
EXPECT_TRUE(HasFieldIds(group_node_with_full_field_id));
145+
ASSERT_TRUE(HasFieldIds(group_node_with_full_field_id));
146146

147147
auto group_node_with_partial_field_id = MakeGroupNode(
148148
"test_group", {MakeInt32Node("c1", /*field_id=*/1), MakeInt32Node("c2")});
149-
EXPECT_TRUE(HasFieldIds(group_node_with_partial_field_id));
149+
ASSERT_TRUE(HasFieldIds(group_node_with_partial_field_id));
150150
}
151151

152152
TEST(ParquetSchemaProjectionTest, ProjectIdenticalSchemas) {

0 commit comments

Comments
 (0)