From 29b684f91609c99eb32b5c94b415127816e87280 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Mon, 25 Jun 2012 23:03:01 +0200 Subject: [PATCH] Correct the formatPoint test to use API methods. --- test/spec/api/geom/multilinestring.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/api/geom/multilinestring.test.js b/test/spec/api/geom/multilinestring.test.js index 10dacc0638..152bee7eb0 100644 --- a/test/spec/api/geom/multilinestring.test.js +++ b/test/spec/api/geom/multilinestring.test.js @@ -1,7 +1,7 @@ describe("ol.geom.multilinestring", function() { var mls, formatPoint = function(p){ - return p.getX() + ',' + p.getY(); + return p.x() + ',' + p.y(); }, linestringNPointN = function(mls, i, j) { return formatPoint(mls.linestrings()[i].vertices()[j]);