Skip to content

Commit 1727d56

Browse files
committed
formatting
1 parent f2949e9 commit 1727d56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/macros.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('client macros', function () {
2828
it('tests the parameter macro per #612', function(done) {
2929
var macros = {
3030
parameter: function (operation, parameter) {
31-
if(parameter.name === 'petId') {
31+
if (parameter.name === 'petId') {
3232
return '100';
3333
}
3434
return parameter.default;
@@ -42,11 +42,11 @@ describe('client macros', function () {
4242
url: 'http://petstore.swagger.io/v2/swagger.json',
4343
usePromise: true,
4444
parameterMacro: macros.parameter
45-
}).then(function(client) {
45+
}).then(function (client) {
4646
var parameters = client.pet.apis.getPetById.parameters;
4747
expect(parameters[0].default).toBe('100');
4848
done();
49-
}).catch(function(exception) {
49+
}).catch(function (exception) {
5050
done(exception);
5151
});
5252
});

0 commit comments

Comments
 (0)