-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from rodrigoprimo/test-coverage-byte-order-mask
Generic/ByteOrderMark: improve code coverage
- Loading branch information
Showing
7 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.1.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
// File in UTF-8 encoding with byte order mark (BOM) character before the opening PHP tag. | ||
echo 'foo'; | ||
?> |
3 changes: 3 additions & 0 deletions
3
src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.2.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php // File in UTF-8 encoding without a byte order mark (BOM) character before the opening PHP tag. ?> | ||
|
||
<p>Some HTML</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>Some HTML at the beginning of an ANSI/iso-8859-1 encoded file without a byte order mark (BOM) character</p> |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters