Fixed #1264. If you read the bug there were many proposed changes. As it turned...
[jquery.git] / test / data / testrunner.js
index 69377e4..df57e3a 100644 (file)
@@ -161,7 +161,7 @@ function expect(asserts) {
  * Resets the test setup. Useful for tests that modify the DOM.
  */
 function reset() {
-       document.getElementById('main').innerHTML = _config.fixture;
+       $("#main").html( _config.fixture );
 }
 
 /**
@@ -273,8 +273,8 @@ function url(value) {
  *
  * @example equals( "Expected 2 characters.", v.formatMessage("Expected {0} characters.", 2) );
  *
- * @param Object expected
  * @param Object actual
+ * @param Object expected
  * @param String message (optional)
  */
 function equals(actual, expected, message) {