Commit a9642e5
Generic/ByteOrderMark: improve test coverage
This commit adds four more tests case files:
* 2 to cover the cases where the sniff is triggered but the file does not contain a BOM character.
One of these files is in UTF-8 encoding without a BOM, the other is in ANSI/iso-8859-1 encoding.
* 2 to cover the different UTF-16 encodings with a BOM character.
Includes adding a comment to the original test case file to document the encoding (UTF-8 with BOM) of that file.1 parent 39b2fed commit a9642e5
File tree
6 files changed
+10
-3
lines changed- src/Standards/Generic/Tests/Files
6 files changed
+10
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Binary file not shown.
Binary file not shown.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments