Skip to content

Commit

Permalink
Documentation bug fix: Rename *length* to *lengthOf* in a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubun2 committed Dec 14, 2011
1 parent 08b0650 commit 722d4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/assert-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vows.describe('vows/assert').addBatch({
"`match`": function () {
assert.match("hello world", /^[a-z]+ [a-z]+$/);
},
"`length`": function () {
"`lengthOf`": function () {
assert.lengthOf("hello world", 11);
assert.lengthOf([1, 2, 3], 3);
},
Expand Down

0 comments on commit 722d4d8

Please sign in to comment.