summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-09-28 22:16:57 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-09-28 22:16:57 +0000
commitcbd32e8b748028f2738c78bc00196dea6ffa5386 (patch)
tree91a404d7d40132ef29fc44f4ae5f8117271df614 /src
parentfix node counting for "moveto"-only paths. (diff)
downloadinkscape-cbd32e8b748028f2738c78bc00196dea6ffa5386.tar.gz
inkscape-cbd32e8b748028f2738c78bc00196dea6ffa5386.zip
fix error in curve cxxtests
(bzr r8670)
Diffstat (limited to 'src')
-rw-r--r--src/display/curve-test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/curve-test.h b/src/display/curve-test.h
index d779fe09b..784ccee89 100644
--- a/src/display/curve-test.h
+++ b/src/display/curve-test.h
@@ -90,7 +90,7 @@ public:
pv[0] = path1;
TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 3u);
pv[0] = path2;
- TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 3u);
+ TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 2u); // zero length closing segments do not increase the nodecount.
pv[0] = path3;
TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 5u);
pv[0] = path4;