Skip to content

Commit

Permalink
Add pass message when tests finish.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Jan 30, 2011
1 parent 560dadd commit a0348dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-body.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ for (i in tests) {
}
counter = counter - 1;
if (counter === 0) {
console.log(Object.keys(tests).length+" tests passed.")
s.close();
}
})
Expand Down
2 changes: 2 additions & 0 deletions tests/test-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ try {
} catch(e) {
assert.equal(e.message, 'Body attribute missing in multipart.')
}

console.log("All tests passed.")

0 comments on commit a0348dd

Please sign in to comment.