[OpenLayers-Commits] r11076 -
sandbox/elemoine/draw-feature/tests/Handler
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Feb 10 05:45:09 EST 2011
Author: erilem
Date: 2011-02-10 02:45:09 -0800 (Thu, 10 Feb 2011)
New Revision: 11076
Modified:
sandbox/elemoine/draw-feature/tests/Handler/Point.html
Log:
use t.geom_eq in the point handler tests when it makes sense
Modified: sandbox/elemoine/draw-feature/tests/Handler/Point.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Point.html 2011-02-10 10:45:02 UTC (rev 11075)
+++ sandbox/elemoine/draw-feature/tests/Handler/Point.html 2011-02-10 10:45:09 UTC (rev 11076)
@@ -63,8 +63,8 @@
"activate adds the feature to the layer");
t.eq(log.length, 1,
"activate calls \"create\" once");
- t.ok(log[0].geometry == handler.point.geometry,
- "\"create\" called with expected geometry");
+ t.geom_eq(log[0].geometry, handler.point.geometry,
+ "\"create\" called with expected geometry");
t.ok(log[0].feature == handler.point,
"\"create\" called with expected feature");
activated = handler.deactivate();
More information about the Commits
mailing list