diff --git a/test/macros.js b/test/macros.js index c5f12926c..1f3325a89 100644 --- a/test/macros.js +++ b/test/macros.js @@ -28,7 +28,7 @@ describe('client macros', function () { it('tests the parameter macro per #612', function(done) { var macros = { parameter: function (operation, parameter) { - if(parameter.name === 'petId') { + if (parameter.name === 'petId') { return '100'; } return parameter.default; @@ -42,11 +42,11 @@ describe('client macros', function () { url: 'http://petstore.swagger.io/v2/swagger.json', usePromise: true, parameterMacro: macros.parameter - }).then(function(client) { + }).then(function (client) { var parameters = client.pet.apis.getPetById.parameters; expect(parameters[0].default).toBe('100'); done(); - }).catch(function(exception) { + }).catch(function (exception) { done(exception); }); });