From: johanengelen Date: Mon, 28 Sep 2009 22:16:57 +0000 (+0000) Subject: fix error in curve cxxtests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1bc4dd6dd6f59d7b59bc923ea565ebd1321684ae;p=inkscape.git fix error in curve cxxtests --- 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;