Skip to content

Commit

Permalink
Apply code review's naming suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Jan 5, 2025
1 parent e707e21 commit 94c58b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/core/tests/test-ir_encoding_methods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,8 +1386,8 @@ TEMPLATE_TEST_CASE(
auto& serializer{result.value()};
serializer.clear_ir_buf();

auto assert_invalid_serialization = [&]<typename T>(T invalid_input) -> bool {
std::map<string, T> const invalid_map{{"valid_key", invalid_input}};
auto assert_invalid_serialization = [&]<typename T>(T invalid_value) -> bool {
std::map<string, T> const invalid_map{{"valid_key", invalid_value}};
msgpack::pack(msgpack_serialization_buffer, invalid_map);
return unpack_and_assert_serialization_failure(msgpack_serialization_buffer, serializer);
};
Expand Down

0 comments on commit 94c58b7

Please sign in to comment.