summaryrefslogtreecommitdiffstats
path: root/src/dom/work/testuri.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-05-05 21:11:43 +0000
committerishmal <ishmal@users.sourceforge.net>2008-05-05 21:11:43 +0000
commit9772b0e49b0e62e344588f87b3148a30318b42ce (patch)
treea2d67286cb67c664a8bfdf7d4bf305580fef394e /src/dom/work/testuri.cpp
parentstruct SPCurve => class SPCurve (diff)
downloadinkscape-9772b0e49b0e62e344588f87b3148a30318b42ce.tar.gz
inkscape-9772b0e49b0e62e344588f87b3148a30318b42ce.zip
Bring testing files up-to-date in preparation to test new svg code.
(bzr r5610)
Diffstat (limited to 'src/dom/work/testuri.cpp')
-rw-r--r--src/dom/work/testuri.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dom/work/testuri.cpp b/src/dom/work/testuri.cpp
index eed2aba5a..cd412fd51 100644
--- a/src/dom/work/testuri.cpp
+++ b/src/dom/work/testuri.cpp
@@ -10,7 +10,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006-2007 Bob Jamison
+ * Copyright (C) 2006-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -32,7 +32,7 @@
typedef org::w3c::dom::URI URI;
-static bool doURI(char *uristr)
+static bool doURI(const char *uristr)
{
org::w3c::dom::URI uri(uristr);
printf("##################################\n");
@@ -56,7 +56,7 @@ static bool test1()
printf("########################################\n");
printf("## TEST 1\n");
printf("########################################\n");
- char *uristr = "http://www.mit.edu:80/index.html?test=good#hello";
+ const char *uristr = "http://www.mit.edu:80/index.html?test=good#hello";
doURI(uristr);
uristr = "http://www.mit.edu:80";
doURI(uristr);