Skip to content

Commit

Permalink
Test for unescape
Browse files Browse the repository at this point in the history
Follow-up on #475 to test #474
  • Loading branch information
shimaore committed Mar 13, 2013
1 parent 7a217bb commit b0b4ca9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test-basic-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@ request({
assert.equal(response.statusCode, 200);
assert.equal(numBasicRequests, 3);

console.log('All tests passed');
basicServer.close();
request({
'method': 'GET',
'uri': 'http://test:testing2@localhost:6767/test2/'
}, function(error, response, body) {
assert.equal(response.statusCode, 200);
assert.equal(numBasicRequests, 4);

console.log('All tests passed');
basicServer.close();
});
});
});

0 comments on commit b0b4ca9

Please sign in to comment.