Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9d720691
...
9d720691f3d2c05a42e2d4feee315583673f5982
authored
2012-12-23 08:57:41 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
avoid silly reduce() errors
1 parent
1ac64f4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
modules/tester.js
modules/tester.js
View file @
9d72069
...
...
@@ -1187,7 +1187,7 @@ TestSuite.prototype.countFailed = function countFailed() {
return
result
.
failed
;
}).
reduce
(
function
(
a
,
b
)
{
return
a
+
b
;
});
}
,
0
);
};
/**
...
...
@@ -1201,7 +1201,7 @@ TestSuite.prototype.countPassed = function countPassed() {
return
result
.
passed
;
}).
reduce
(
function
(
a
,
b
)
{
return
a
+
b
;
});
}
,
0
);
};
/**
...
...
Please
register
or
sign in
to post a comment