Commit eef039fc authored by jan.koester's avatar jan.koester
Browse files

test removed old method

parent 51cbd955
Loading
Loading
Loading
Loading
+2 −2
Changes for test/htmlpagetest.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
int main(int arc,char *argv[]){
    libhtmlpp::HtmlPage page;
    try{
        page.loadFile(argv[1]);
        libhtmlpp::Element *index=page.loadFile(argv[1])->parse();
        std::string html;
        page.printHtml(html);
        libhtmlpp::print(index,nullptr,html);
        std::cout << html << std::endl;
        std::cout << Green << "Test Passed!" << NOCOLOR << std::endl;
    }catch(libhtmlpp::HTMLException &exp){