mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
test: update test_util.cc for coverage
update test_util.cc for code coverage src/util-inl.h:PopFront() PR-URL: https://github.com/nodejs/node/pull/55291 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
6d36199c5f
commit
b57977909a
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue