From 3fcc530b341709000b7acf4e8b85ad11cac0927d Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 2 Oct 2014 03:06:59 +0000 Subject: tests: Add missing tests to increase code coverage git-svn-id: https://pugixml.googlecode.com/svn/trunk@1038 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_parse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_parse.cpp') 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("\r\n\t text \r\n\r\n\r\n\r\n\r\n\r\n\r\n more \r\n\t"), STR("text \n\n\n\n\n\n\n more"), parse_eol }, { STR(" test&&&&&&& "), STR("test&&&&&&&"), 0 }, { STR(" test&&&&&&& "), STR("test&&&&&&&"), parse_escapes }, - { STR(" test&&&&&&& "), STR("test&&&&&&&"), parse_fragment | parse_escapes } + { STR(" test&&&&&&& "), STR("test&&&&&&&"), parse_fragment | parse_escapes }, + { STR("\r\n\t text \t\n\r m&&e \r\n\t"), 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) -- cgit v1.2.3