Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Nov 18, 2015
1 parent f2949e9 commit 1727d56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
});
});
Expand Down

0 comments on commit 1727d56

Please sign in to comment.