Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Edited lib/reporters/junit.js via GitHub #71

Merged
merged 1 commit into from

2 participants

@chrforster

No description provided.

@caolan caolan merged commit 9d511ff into caolan:master
@caolan
Owner

Thanks, surprised nobody spotted that before ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 11, 2011
  1. @chrforster
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/reporters/junit.js
View
2  lib/reporters/junit.js
@@ -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);
Something went wrong with that request. Please try again.