Skip to content

Commit 3bc6e73

Browse files
committed
Renames variable for better readability.
Renames the `customHeader` variable to `custom_header` for improved code readability and consistency.
1 parent 8b70d51 commit 3bc6e73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8031,10 +8031,10 @@ TEST(MultipartFormDataTest, AccessPartHeaders) {
80318031
ASSERT_EQ("text2", it->second.content);
80328032
auto &headers = it->second.headers;
80338033
ASSERT_EQ(3, headers.size());
8034-
auto customHeader = headers.find("x-whatever");
8035-
ASSERT_TRUE(customHeader != headers.end());
8036-
ASSERT_NE("customvalue", customHeader->second);
8037-
ASSERT_EQ("CustomValue", customHeader->second);
8034+
auto custom_header = headers.find("x-whatever");
8035+
ASSERT_TRUE(custom_header != headers.end());
8036+
ASSERT_NE("customvalue", custom_header->second);
8037+
ASSERT_EQ("CustomValue", custom_header->second);
80388038
ASSERT_TRUE(headers.find("X-Test") == headers.end()); // text1 header
80398039

80408040
handled = true;

0 commit comments

Comments
 (0)