From 246fd3280e738870d902ff010968948c5e30b940 Mon Sep 17 00:00:00 2001
From: Andrei Litvin <andreilitvin@google.com>
Date: Thu, 19 Dec 2024 14:19:33 -0500
Subject: [PATCH] One more fix

---
 .../codegen/tests/TestCodegenModelViaMocks.cpp                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp b/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp
index 3d0c4f3238d004..ec0ec8b4bb1eb1 100644
--- a/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp
+++ b/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp
@@ -1266,7 +1266,7 @@ TEST_F(TestCodegenModelViaMocks, IterateOverAcceptedCommands)
 
     auto commandId = commands->Next();
     ASSERT_TRUE(commandId.has_value());
-    EXPECT_EQ(*commandId, 1u);
+    EXPECT_EQ(*commandId, 1u); // NOLINT(bugprone-unchecked-optional-access)
 
     commandId = commands->Next();
     ASSERT_TRUE(commandId.has_value());