From e295aee7636a90ad6b24d4dc612acdc7ab180159 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 14 Sep 2006 16:31:42 +0000 Subject: [PATCH] Test another way complains if there's no plan. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1450 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Control_MouseToolbar.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_Control_MouseToolbar.html b/tests/test_Control_MouseToolbar.html index 7b7c1bf1fc..e65f77da97 100644 --- a/tests/test_Control_MouseToolbar.html +++ b/tests/test_Control_MouseToolbar.html @@ -24,8 +24,8 @@ } function test_03_Control_MouseToolbar_control_events (t) { + t.plan( 1 ); if ((navigator.userAgent.indexOf("compatible") == -1)) { - t.plan( 1 ); var evt = {which: 1}; // control expects left-click map = new OpenLayers.Map('map'); var layer = new OpenLayers.Layer.WMS("Test Layer", @@ -45,6 +45,8 @@ evt.xy = new OpenLayers.Size(15,15); control.defaultMouseUp(evt); t.eq(map.getZoom(), 6, "Map zoom set correctly after zoombox"); + } else { + t.ok(true, "IE does not run this test.") } } // -->