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()
  • Loading branch information
kmk324 committed Oct 5, 2024
1 parent 20d8b85 commit 2175661
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 2175661

Please sign in to comment.