finally works

This commit is contained in:
Craig Condon
2012-11-30 20:11:55 -06:00
parent 8b03984ca8
commit ad5532eaad
5173 changed files with 1558686 additions and 27414 deletions
+7
View File
@@ -27,4 +27,11 @@ try {
assert.equal(e.message, 'Body attribute missing in multipart.')
}
try {
request(local, {multipart: [{}]})
assert.fail("Should have throw")
} catch(e) {
assert.equal(e.message, 'Body attribute missing in multipart.')
}
console.log("All tests passed.")