diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-02 03:06:59 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-02 03:06:59 +0000 |
commit | 3fcc530b341709000b7acf4e8b85ad11cac0927d (patch) | |
tree | 6e7a82456a3f496fb79c9597fd12908b6c291242 /tests/test_parse.cpp | |
parent | 00e1219bec0bd56536fcd8cba7930b426c9601db (diff) |
tests: Add missing tests to increase code coverage
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1038 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_parse.cpp')
-rw-r--r-- | tests/test_parse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp index 38b09f5..2094ef9 100644 --- a/tests/test_parse.cpp +++ b/tests/test_parse.cpp @@ -451,7 +451,8 @@ TEST(parse_pcdata_trim) { STR("<node>\r\n\t text \r\n\r\n\r\n\r\n\r\n\r\n\r\n more \r\n\t</node>"), STR("text \n\n\n\n\n\n\n more"), parse_eol }, { STR("<node> test&&&&&&& </node>"), STR("test&&&&&&&"), 0 }, { STR("<node> test&&&&&&& </node>"), STR("test&&&&&&&"), parse_escapes }, - { STR(" test&&&&&&& "), STR("test&&&&&&&"), parse_fragment | parse_escapes } + { STR(" test&&&&&&& "), STR("test&&&&&&&"), parse_fragment | parse_escapes }, + { STR("<node>\r\n\t text \t\n\r m&&e \r\n\t</node>"), STR("text \t\n\n m&&e"), parse_eol | parse_escapes } }; for (size_t i = 0; i < sizeof(test_data) / sizeof(test_data[0]); ++i) |