style: clang-tidy auto fixes (#1585)

Fixes #1584. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-08-07 09:01:11 +01:00
committed by GitHub
parent 2bd7ac346c
commit fa1e9da0de
3 changed files with 5 additions and 10 deletions

View File

@@ -33,11 +33,11 @@ TEST(ArrayTest, testConfigArray)
ConfigValue{ConfigType::Double}.defaultValue(22.22),
};
auto cv = arr.at(0);
ValueView vv{cv};
ValueView const vv{cv};
EXPECT_EQ(vv.asBool(), false);
auto cv2 = arr.at(1);
ValueView vv2{cv2};
ValueView const vv2{cv2};
EXPECT_EQ(vv2.asIntType<int>(), 1234);
EXPECT_EQ(arr.size(), 3);
@@ -45,6 +45,6 @@ TEST(ArrayTest, testConfigArray)
EXPECT_EQ(arr.size(), 4);
auto cv4 = arr.at(3);
ValueView vv4{cv4};
ValueView const vv4{cv4};
EXPECT_EQ(vv4.asString(), "false");
}