Skip to content

Commit eb2fab3

Browse files
kmk324aduh95
authored andcommitted
test: update test_util.cc for coverage
update test_util.cc for code coverage src/util-inl.h:PopFront() PR-URL: #55291 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d42522e commit eb2fab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cctest/test_util.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ TEST_F(UtilTest, ListHead) {
2727

2828
List list;
2929
EXPECT_TRUE(list.IsEmpty());
30+
EXPECT_TRUE(list.PopFront() == nullptr);
3031

3132
Item one;
3233
EXPECT_TRUE(one.node_.IsEmpty());

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy