From f34358f1b90cb026a79170b5f2499261bc3711f6 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 21 Feb 2008 00:54:39 +0000 Subject: [PATCH] now really fixed this test. The additional assertion (call of Console.warn) occured with non-english browsers, because the language resource could not be found. Setting the language to the default language for this test fixes the problem. git-svn-id: http://svn.openlayers.org/trunk/openlayers@6335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Util.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_Util.html b/tests/test_Util.html index a4c5247d69..1570549940 100644 --- a/tests/test_Util.html +++ b/tests/test_Util.html @@ -667,7 +667,9 @@ function test_Util_getArgs(t) { //DEPRECATED -- to be removed in 3.0 - t.plan(4); + t.plan(3); + + OpenLayers.Lang.setCode(OpenLayers.Lang.defaultCode); var temp = OpenLayers.Console.warn; OpenLayers.Console.warn = function(err) {