Skip to content

Commit

Permalink
test: update test_util.cc for coverage
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kmk324 authored and aduh95 committed Oct 19, 2024
1 parent d42522e commit eb2fab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cctest/test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ TEST_F(UtilTest, ListHead) {

List list;
EXPECT_TRUE(list.IsEmpty());
EXPECT_TRUE(list.PopFront() == nullptr);

Item one;
EXPECT_TRUE(one.node_.IsEmpty());
Expand Down

0 comments on commit eb2fab3

Please sign in to comment.