Skip to content

Commit f7532ed

Browse files
authored
[TASK] Add one more unit test for Document (#944)
Part of #757
1 parent 2f0e48f commit f7532ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/Unit/CSSList/DocumentTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,14 @@ public function getAllDeclarationBlocksIgnoresCharset(): void
237237

238238
self::assertSame([], $result);
239239
}
240+
241+
/**
242+
* @test
243+
*/
244+
public function isRootListAlwaysReturnsTrue(): void
245+
{
246+
$subject = new Document();
247+
248+
self::assertTrue($subject->isRootList());
249+
}
240250
}

0 commit comments

Comments
 (0)