1
0
mirror of synced 2025-12-18 16:34:09 +03:00

Update test/test.cc

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
yhirose
2025-12-05 15:09:52 -05:00
committed by GitHub
parent ee595cae63
commit 7bbff160f0

View File

@@ -12716,7 +12716,7 @@ TEST(ETagTest, StaticFileETagAndIfNoneMatch) {
EXPECT_FALSE(etag.empty());
// Verify ETag format: W/"hex-hex"
ASSERT_GE(etag.length(), 3u);
ASSERT_GE(etag.length(), 5u); // Minimum: W/""
EXPECT_EQ('W', etag[0]);
EXPECT_EQ('/', etag[1]);
EXPECT_EQ('"', etag[2]);