Skip to content

Commit

Permalink
[test minor] Change assert.length to assert.lengthOf
Browse files Browse the repository at this point in the history
`vows@0.5.12` changes syntax from `assert.length` to `assert.lengthOf`.
  • Loading branch information
mmalecki committed Nov 4, 2011
1 parent 382f8e7 commit 3f1ed35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/multiple-processes-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ vows.describe('forever/multiple-processes').addBatch({
},
"should spawn both processes appropriately": function (err, data) {
assert.isNull(err);
assert.length(data.monitors, 2);
assert.lengthOf(data.monitors, 2);
this.child1.stop();
this.child2.stop();
}
Expand Down
2 changes: 1 addition & 1 deletion test/tail-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ vows.describe('forever/tail').addBatch({
},
"should stop the correct number of procs": function (err, procs) {
assert.isArray(procs);
assert.length(procs, 1);
assert.lengthOf(procs, 1);
}
}
}
Expand Down

0 comments on commit 3f1ed35

Please sign in to comment.