summaryrefslogtreecommitdiff
path: root/tests/test_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parse.cpp')
-rw-r--r--tests/test_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp
index 013bca9..cd3f9c0 100644
--- a/tests/test_parse.cpp
+++ b/tests/test_parse.cpp
@@ -1336,7 +1336,7 @@ TEST(parse_encoding_detect_auto_incomplete)
{ "<\x00\x00n/\x00>\x00", 8, encoding_utf16_le },
{ "\x00<n\x00\x00/\x00>", 8, encoding_utf16_be },
{ "<\x00?n/\x00>\x00", 8, encoding_utf16_le },
- { "\x00 ", 8, encoding_utf8 },
+ { "\x00 ", 2, encoding_utf8 },
// <?xml encoding
{ "<?xmC encoding='latin1'?>", 25, encoding_utf8 },
{ "<?xBC encoding='latin1'?>", 25, encoding_utf8 },