summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-13 19:10:27 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-13 19:10:27 +0000
commitccd034b3efccaf07d74497120981bfbd78d1dc77 (patch)
tree9cda6c7b76faeca5455495847072086981bf03d6
parentmake spcurve::first_point and last_point boost::optional (diff)
downloadinkscape-ccd034b3efccaf07d74497120981bfbd78d1dc77.tar.gz
inkscape-ccd034b3efccaf07d74497120981bfbd78d1dc77.zip
fix spcurve test
(bzr r6618)
-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 c0b0e900b..8fd952290 100644
--- a/src/display/curve-test.h
+++ b/src/display/curve-test.h
@@ -227,7 +227,7 @@ public:
pv.push_back(path3);
TS_ASSERT_EQUALS( *(SPCurve(pv).second_point()) , Geom::Point(1,0));
pv.insert(pv.begin(), path4);
- TS_ASSERT_EQUALS( SPCurve(pv).second_point() == false, true );
+ TS_ASSERT_EQUALS( *SPCurve(pv).second_point(), Geom::Point(0,0) );
}
void testPenultimatePoint()