test: fix small compile warning in test_network_requests_buffer.cc

PR-URL: https://github.com/nodejs/node/pull/60281
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
xiaocainiao633 2025-10-22 23:16:32 +08:00 committed by GitHub
parent a59706f772
commit 5c50445dfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,7 @@ TEST(RequestsBuffer, EnforceLimit) {
buffer.find("4")->second.push_request_data_blob(
protocol::Binary::fromSpan(kDummyData, 10));
// "3" and "4" are kept.
EXPECT_EQ(buffer.total_buffer_size(), 15);
EXPECT_EQ(buffer.total_buffer_size(), 15u);
}
EXPECT_FALSE(buffer.contains("1"));