From 6b0d61dbd14e548683336e359e3e99a4f33299d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 14 Dec 2011 16:08:34 +0100 Subject: [PATCH] remove useless assertion in Panel.html:test_iconOn_iconOff --- tests/Control/Panel.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/Control/Panel.html b/tests/Control/Panel.html index 2f5fa58e98..d74526bda2 100644 --- a/tests/Control/Panel.html +++ b/tests/Control/Panel.html @@ -290,7 +290,7 @@ } function test_iconOn_iconOff(t) { - t.plan(3); + t.plan(2); var map = new OpenLayers.Map('map'); @@ -307,10 +307,6 @@ ctrl.panel_div.className = 'ctrlItemInactive fooItemActive fooItemInactive'; - t.eq(ctrl.panel_div.className, - 'ctrlItemInactive fooItemActive fooItemInactive', - 'initial className value is as expected'); - panel.iconOn.call(ctrl); t.eq(ctrl.panel_div.className, 'ctrlItemActive fooItemActive fooItemInactive',