test: suppress linter warnings on deprecated functions

This commit is contained in:
Michele Caini
2024-01-01 16:02:53 +01:00
parent 8cb0c8802d
commit f20abd5767

View File

@@ -174,8 +174,8 @@ TEST(SingleComponentView, ElementAccess) {
registry.emplace<int>(e1, 3);
for(auto i = 0u; i < view.size(); ++i) {
ASSERT_EQ(view[i], i ? e0 : e1);
ASSERT_EQ(cview[i], i ? e0 : e1);
ASSERT_EQ(view[i], i ? e0 : e1); // NOLINT(clang-diagnostic-deprecated-declarations)
ASSERT_EQ(cview[i], i ? e0 : e1); // NOLINT(clang-diagnostic-deprecated-declarations)
}
ASSERT_EQ(view[e0], 42);