summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-10-03 15:21:18 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-10-03 15:21:18 +0000
commitca56d06adc53e8c31c2859b52e3e114fc179e61f (patch)
treee71277787867740b1c7bfe7f5ea0301fb5e3115c /src
parentupdated hu.po (diff)
downloadinkscape-ca56d06adc53e8c31c2859b52e3e114fc179e61f.tar.gz
inkscape-ca56d06adc53e8c31c2859b52e3e114fc179e61f.zip
fix test for relative implicit lineto
(bzr r8703)
Diffstat (limited to 'src')
-rw-r--r--src/svg/svg-path-geom-test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/svg-path-geom-test.h b/src/svg/svg-path-geom-test.h
index 9a091cb86..1a084d5bf 100644
--- a/src/svg/svg-path-geom-test.h
+++ b/src/svg/svg-path-geom-test.h
@@ -159,7 +159,7 @@ public:
}
void testReadImplicitMoveto() {
- TS_WARN("Currently lib2geom (/libnr) has no way of specifying the difference between '... z M 0,0 L 1,0' and '... z L 1,0', the SVG specification does state that these should be handled differently with respect to markers however, see the description of the 'orient' attribute of the 'marker' element.");
+ TS_WARN("Currently lib2geom (/libnr) has no way of specifying the difference between 'M 0,0 ... z M 0,0 L 1,0' and 'M 0,0 ... z L 1,0', the SVG specification does state that these should be handled differently with respect to markers however, see the description of the 'orient' attribute of the 'marker' element.");
Geom::PathVector pv_good;
pv_good.push_back(Geom::Path(Geom::Point(1,1)));
pv_good.back().append(Geom::LineSegment(Geom::Point(1,1),Geom::Point(2,2)));
@@ -173,7 +173,7 @@ public:
TSM_ASSERT(path_str, bpathEqual(pv,pv_good));
}
{ // Test relative version
- char const * path_str = "M 1,1 L 2,2 z L 3,3 z";
+ char const * path_str = "M 1,1 l 1,1 z l 2,2 z";
Geom::PathVector pv = sp_svg_read_pathv(path_str);
TSM_ASSERT(path_str, bpathEqual(pv,pv_good));
}