Skip to content

Commit

Permalink
fix typoes
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos authored and James Halliday committed Sep 4, 2013
1 parent 1f56566 commit 8cf5c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ function getSerialize () {
}

function getNextTest(results) {
if (!results.only)
if (!results.only) {
return results.tests.shift();
}

do {
var t = results.tests.shift();
if (tick) {
if (!t) {
return null;
}
if (results.only === t.name) {
Expand Down

0 comments on commit 8cf5c67

Please sign in to comment.