Skip to content

Commit ac2f0ef

Browse files
committed
fix: http://example.com - encoding is null
1 parent 9617bb2 commit ac2f0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/HTMLValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function testUri(): void
1717
self::assertFalse($result->isValid());
1818
self::assertSame('http://example.com', $result->getUri());
1919
self::assertSame('text/html', $result->getType());
20-
self::assertSame('UTF-8', $result->getEncoding());
20+
self::assertNull($result->getEncoding());
2121
self::assertStringContainsString('Example Domain', $result->getSource());
2222
}
2323

0 commit comments

Comments
 (0)