diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-07-14 23:04:17 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-07-14 23:04:17 -0700 |
commit | 525b2fe5c3c304cbc2bec030b04539ab193e5dcd (patch) | |
tree | 94aac6c6029f3222cd26caf5e570e5cbddc6defa /tests/test_document.cpp | |
parent | 70d7c7904e63f71e5f1b8960df6dc0a3c9087ff2 (diff) |
tests: Add tests for latin1 detection
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r-- | tests/test_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index b442126..73a36f5 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -915,7 +915,7 @@ TEST(document_contents_preserve_latin1) { // parse into document (preserve comments, declaration and whitespace pcdata) xml_document doc; - CHECK(doc.load_buffer(files[src].data, files[src].size, parse_default | parse_ws_pcdata | parse_declaration | parse_comments, files[src].encoding)); + CHECK(doc.load_buffer(files[src].data, files[src].size, parse_default | parse_ws_pcdata | parse_declaration | parse_comments)); // compare saved document with the original (raw formatting, without extra declaration, write bom if it was in original file) CHECK(test_save_narrow(doc, format_raw | format_no_declaration | format_write_bom, files[dst].encoding, files[dst].data, files[dst].size)); |