From 94c58b774d6863a04a602a23f92ced3a22d0d9ab Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Sun, 5 Jan 2025 18:02:46 -0500 Subject: [PATCH] Apply code review's naming suggestion --- components/core/tests/test-ir_encoding_methods.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/core/tests/test-ir_encoding_methods.cpp b/components/core/tests/test-ir_encoding_methods.cpp index 2a6e880a4..d0c2bdc05 100644 --- a/components/core/tests/test-ir_encoding_methods.cpp +++ b/components/core/tests/test-ir_encoding_methods.cpp @@ -1386,8 +1386,8 @@ TEMPLATE_TEST_CASE( auto& serializer{result.value()}; serializer.clear_ir_buf(); - auto assert_invalid_serialization = [&](T invalid_input) -> bool { - std::map const invalid_map{{"valid_key", invalid_input}}; + auto assert_invalid_serialization = [&](T invalid_value) -> bool { + std::map const invalid_map{{"valid_key", invalid_value}}; msgpack::pack(msgpack_serialization_buffer, invalid_map); return unpack_and_assert_serialization_failure(msgpack_serialization_buffer, serializer); };