diff -r 6665fa16aa45 -r cd2ea273007a web/test/jstests/test_ajax.js --- a/web/test/jstests/test_ajax.js Fri Feb 18 09:33:51 2011 +0100 +++ b/web/test/jstests/test_ajax.js Fri Feb 18 10:18:28 2011 +0100 @@ -44,7 +44,7 @@ callback: function() { var origLength = scriptsIncluded.length; scriptsIncluded = jsSources(); - // check that foo.js has been inserted in
+ // check that foo.js has been *appended* to equals(scriptsIncluded.length, origLength + 1); equals(scriptsIncluded[origLength].indexOf('http://foo.js'), 0); // check that