X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Ftest_filter_rewrite.cpp;h=374950975b1354882aed8fd423324e613a49a2f0;hb=9c5a788489d7fc2bb6796b87ffe6d631f5ef0c90;hp=65cb4c08fd140425d27b20e258c2f62debea150e;hpb=8bcd4c3e063e932b2f80f9491ec0af66d3da5c2e;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_rewrite.cpp b/src/test_filter_rewrite.cpp index 65cb4c0..3749509 100644 --- a/src/test_filter_rewrite.cpp +++ b/src/test_filter_rewrite.cpp @@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 ) "\n" "\n" - " \n" + " \n" " \n" " \n" " \n" + " \n" " \n" " \n" " \n" - " \n" - " \n" + " \n" + " \n" + " \n" " \n" " \n" "\n" @@ -132,7 +135,9 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 ) "}" "" "" - "" + "" "" "

Welcome to our website. It doesn't make it easy to get pro" "xified" @@ -141,11 +146,13 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 ) "" " Another abs link" "" + "" + "" ""; const char *resp_expected = "HTTP/1.1 200 OK\r\n" - "Content-Length: 522\r\n" + "Content-Length: 564\r\n" "Content-Type: text/html\r\n" "Link: ; rel=absolute\r\n" "Link: ; rel=relative\r\n" @@ -157,15 +164,19 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 ) "}" "" "" - "" + "" "" "

Welcome to our website. It doesn't make it easy to get pro" "xified" "" " An absolute link" - "" + "" " Another abs link" "" + "" + "" ""; int r;