Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Aug 25, 2016
1 parent 1216340 commit 43f00d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/unexpectedMitm.js
Expand Up @@ -759,10 +759,7 @@ module.exports = {
var shouldBeVerified = checkEnvFlag('UNEXPECTED_MITM_VERIFY') || expect.flags['and verified'];
var shouldReturnExtraInfo = expect.flags['with extra info'];

// Allow this shorthand in array mode:
// 'GET /foo' => { request: 'GET /foo', response: 200 }
// Doesn't work when providing a single string as that
// is reserved for loading the mock data from a file:
// Allow shorthand: 'GET /foo' => { request: 'GET /foo', response: 200 }
function normalizeRequestDescription(requestDescription) {
if (typeof requestDescription === 'string') {
return {
Expand Down

0 comments on commit 43f00d7

Please sign in to comment.