Skip to content

Commit 310a734

Browse files
kmk324ruyadorno
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 12faf04 commit 310a734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cctest/test_util.cc

+1
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)