Fixed some bugs with the test suite and fixed a bug with setting attributes.
[jquery.git] / build / test / js / test.js
index e4da77b..44a405f 100644 (file)
@@ -4,7 +4,7 @@ function runTests(files) {
 
 function runTest( files, num ) {
        $.get(files[num],function(js){
-               js = js.replace(/&lt;/g, "<").replace(/&gt;/g, ">");
+               js = js.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
 
                try {
                        eval(js);