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
This commit is contained in:
ahocevar
2008-02-21 00:54:39 +00:00
parent 1f107bde9d
commit f34358f1b9

View File

@@ -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) {