X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_html_parser.cpp;h=2b23dde1364826e875b42194ea9d3261702c1a60;hb=489bd9188aed44d93c29f996311e0477152d592a;hp=dd66b57da908be2f26a3393e7538c1f087c01e0f;hpb=55fdfbb42225f71fb791bb8f9ec033ca0fddbe44;p=metaproxy-moved-to-github.git
diff --git a/src/test_html_parser.cpp b/src/test_html_parser.cpp
index dd66b57..2b23dde 100644
--- a/src/test_html_parser.cpp
+++ b/src/test_html_parser.cpp
@@ -70,7 +70,7 @@ public:
out.append(value, len);
}
};
-#if 0
+
BOOST_AUTO_TEST_CASE( test_html_parser_1 )
{
try
@@ -270,18 +270,20 @@ BOOST_AUTO_TEST_CASE( test_html_parser_6 )
BOOST_CHECK (false);
}
}
-#endif
+
BOOST_AUTO_TEST_CASE( test_html_parser_7 )
{
try
{
mp::HTMLParser hp;
const char* html =
- "";
+ ""
+ "1>\nx=2;\n";
const char* expected = html;
MyEvent e;
- hp.set_verbose(1);
+ hp.set_verbose(0);
hp.parse(e, html);
BOOST_CHECK_EQUAL(std::string(expected), e.out);