summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-11-21 11:37:30 (UTC)
committer Michael Krelin <hacker@klever.net>2007-11-21 11:37:30 (UTC)
commit636135ac92ff022348ea8b5c8f4e5e7c1f928edd (patch) (unidiff)
treec5af3ee12035338daad4e4dda2302c3e96edae15
parent2937fe0e47a7ff46c5ad1aee3ad764e56ca6d49b (diff)
downloadlibopkele-636135ac92ff022348ea8b5c8f4e5e7c1f928edd.zip
libopkele-636135ac92ff022348ea8b5c8f4e5e7c1f928edd.tar.gz
libopkele-636135ac92ff022348ea8b5c8f4e5e7c1f928edd.tar.bz2
Fix for -pedantic build
Thanks to Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc
index 7def12f..0010f2b 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -56,13 +56,13 @@ void test_retrieve_links() {
56 test_retrieve_links("unclosed-head.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/"); 56 test_retrieve_links("unclosed-head.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/");
57 test_retrieve_links("spaced-links.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/"); 57 test_retrieve_links("spaced-links.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/");
58 test_retrieve_links("spaced-link-attrs.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/"); 58 test_retrieve_links("spaced-link-attrs.html",true,"http://www.klever.net/openid.server","http://hacker.klever.net/");
59 test_retrieve_links("2rels.html",true,"http://www.klever.net/openid.server","http://www.klever.net/openid.server"); 59 test_retrieve_links("2rels.html",true,"http://www.klever.net/openid.server","http://www.klever.net/openid.server");
60} 60}
61 61
62main() { 62int main() {
63 try { 63 try {
64 test_retrieve_links(); 64 test_retrieve_links();
65 }catch(failed_test& ft) { 65 }catch(failed_test& ft) {
66 cerr << "Test failed: " << ft.what() << endl; 66 cerr << "Test failed: " << ft.what() << endl;
67 }catch(exception& e) { 67 }catch(exception& e) {
68 cerr << "oops: " << e.what() << endl; 68 cerr << "oops: " << e.what() << endl;