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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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

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