Permalink
Browse files

Merge pull request #71 from chrforster/patch-1

Edited lib/reporters/junit.js via GitHub
  • Loading branch information...
2 parents 121df84 + b109f50 commit 9d511ff0c3f1e1809a58c4866e5a9786ba264445 @caolan caolan committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/reporters/junit.js
View
@@ -114,7 +114,7 @@ exports.run = function (files, opts, callback) {
},
testDone: function (name, assertions) {
var testcase = {name: name};
- for (var i=0; i<assertions.length; assertions++) {
+ for (var i=0; i<assertions.length; i++) {
var a = assertions[i];
if (a.failed()) {
a = utils.betterErrors(a);

0 comments on commit 9d511ff

Please sign in to comment.