Skip to content

Commit

Permalink
refactor prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 2, 2012
1 parent cb80fcd commit 570dea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/multipart.js
Expand Up @@ -269,7 +269,7 @@ describe('connect.multipart()', function(){
it('should defer processing if `defer` is set', function(done){ it('should defer processing if `defer` is set', function(done){
var app = connect(); var app = connect();


app.use(connect.multipart({"defer": true})); app.use(connect.multipart({ defer: true }));


app.use(function(req, res){ app.use(function(req, res){
JSON.stringify(req.body).should.equal("{}"); JSON.stringify(req.body).should.equal("{}");
Expand Down

2 comments on commit 570dea5

@bminer
Copy link
Contributor

@bminer bminer commented on 570dea5 Oct 4, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about this one... always write literal JS objects with quoted properties. Been burned too many times by writing plain-old JSON without the quoted properties. Personal coding styles always seems to sneak through, it seems. :)

@tj
Copy link
Member Author

@tj tj commented on 570dea5 Oct 4, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha yup, no worries

Please sign in to comment.