Skip to content

Commit

Permalink
More IE fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Meyer committed Jan 15, 2011
1 parent 204ee26 commit ae55bc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_reporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (typeof document === 'undefined'){
var x = new con({});
t.assert(x instanceof con);
},
'constructor': {
'the constructor': {
'should have [] assigned to testOutputs': function(t){
var con = TestIt.createReporter(function(){});
t.assertEqual([], con.testOutputs);
Expand All @@ -40,7 +40,7 @@ if (typeof document === 'undefined'){
'a context': {
'something': { assertions: [], result: 'pass' }
},
'yet another test': { assertions: [], result: 'error' },
'yet another test': { assertions: [], result: 'error' }
}
}];
t.assertEqual(2, con.countWithResult('pass'));
Expand All @@ -54,7 +54,7 @@ if (typeof document === 'undefined'){
'a context': {
running: true
},
'yet another test': { assertions: [], running: true },
'yet another test': { assertions: [], running: true }
}
}];
t.assertEqual(3, con.countWithResult('running'));
Expand Down Expand Up @@ -86,7 +86,7 @@ if (typeof document === 'undefined'){
'a context': {
'something': { assertions: [], result: 'pass' }
},
'yet another test': { assertions: [], running: true },
'yet another test': { assertions: [], running: true }
}
};
var instance = new con(testOutput);
Expand Down

0 comments on commit ae55bc8

Please sign in to comment.