added failure count to top of trivial reporter

This commit is contained in:
Erik Hanson
2009-08-12 10:15:15 -07:00
parent 93c7b092b3
commit 4410c7cd94
3 changed files with 24 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ describe("TrivialReporter", function() {
});
var divs = body.getElementsByTagName("div");
expect(divs.length).toEqual(1);
expect(divs[0].innerHTML).toContain("suite 1");
expect(divs.length).toEqual(2);
expect(divs[1].innerHTML).toContain("suite 1");
});
});