X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter_rewrite.cpp;h=7753f0e8bef60558e378e26441c6f7eea2a4eab4;hb=a258482a3b53b90b0932f4a789ba66e8e1576c05;hp=d69d927b5c95130aab8aebbae3e7bccba9b8bd52;hpb=8dbed786f672225bef92284dbe38d86f03dac7cc;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_rewrite.cpp b/src/test_filter_rewrite.cpp index d69d927..7753f0e 100644 --- a/src/test_filter_rewrite.cpp +++ b/src/test_filter_rewrite.cpp @@ -86,7 +86,7 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_2 ) mp::filter::HttpRewrite::spair_vec vec_res; vec_res.push_back(std::make_pair( "(?http\\:\\/\\/s?)(?[^\\/?#]+)\\/(?[^ >]+)", - "http://${pxhost}/${pxpath}/${host}/${path}" + "THAT WAS MATCHED" )); fhr.configure(vec_req, vec_res); @@ -143,7 +143,7 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_3 ) " \n" " \n" + " to='THAT WAS MATCHED' />\n" " \n" "\n" ;