Skip to content
Permalink
Browse files

Updating to latest QUnit (sometime soon it'll get versioned...), fixe…

…s test output issues
  • Loading branch information
jzaefferer committed Mar 27, 2010
1 parent ccf85fd commit 8d57aa18478c1b7e6ac0f7f3f87895000514ddfa
Showing with 3 additions and 3 deletions.
  1. +3 −3 external/qunit.js
@@ -579,7 +579,7 @@ function validTest( name ) {

function push(result, actual, expected, message) {
message = message || (result ? "okay" : "failed");
QUnit.ok( result, result ? message + ": " + expected : message + ", expected: " + QUnit.jsDump.parse(expected) + " result: " + QUnit.jsDump.parse(actual) );
QUnit.ok( result, result ? message + ": " + QUnit.jsDump.parse(expected) : message + ", expected: " + QUnit.jsDump.parse(expected) + " result: " + QUnit.jsDump.parse(actual) );
}

function synchronize( callback ) {
@@ -1060,9 +1060,9 @@ QUnit.jsDump = (function() {
name:'name',
'class':'className'
},
HTML:true,//if true, entities are escaped ( <, >, \t, space and \n )
HTML:false,//if true, entities are escaped ( <, >, \t, space and \n )
indentChar:' ',//indentation unit
multiline:true //if true, items in a collection, are separated by a \n, else just a space.
multiline:false //if true, items in a collection, are separated by a \n, else just a space.
};

return jsDump;

0 comments on commit 8d57aa1

Please sign in to comment.
You can’t perform that action at this time.