Skip to content

Commit

Permalink
Fix trailing newlines everywhere (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Errora authored May 12, 2020
1 parent 1fe77c2 commit 117025c
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion cartridge/service-registry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ end
return {
get = get,
set = set,
}
}
2 changes: 1 addition & 1 deletion webui/cypress/integration/auth-switcher-moved.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ describe('Auth switcher moved', () => {
//try to open Users Page: fail
cy.get('a[href="/admin/cluster/users"]').should('not.exist');
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/auth-switcher-not-moved.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ describe('Auth switcher not moved', () => {
cy.get('a[href="/admin/cluster/dashboard"]').click();
cy.get('.meta-test__AuthToggle').should('not.exist');
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/auth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ describe('Auth', () => {
cy.get('.meta-test__AuthToggle').click();
cy.get('.meta-test__ConfirmModal').contains('Disable').click({ force: true }); //component: AuthToggleButton
})
});
});
5 changes: 2 additions & 3 deletions webui/cypress/integration/code-empty-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ describe('Code page', () => {
it('Empty code page', () => {
const selectAllKeys = Cypress.platform == 'darwin' ? '{cmd}a' : '{ctrl}a';
//const defaultText = 'Please select a file';

cy.visit(Cypress.config('baseUrl')+"/admin/cluster/code");
cy.get('#root').contains('Please select a file');
cy.get('button[type="button"]').contains('Apply').click();
cy.get('#root').contains('Files successfuly applied');
});
});

});
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ describe('Replicaset configuration & Bootstrap Vshard', () => {
.find('.meta-test__youAreHereIcon');
});

});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/default-group-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ describe('Default group tests', () => {
cy.get('.meta-test__EditReplicasetModal input[name="weight"]').should('be.disabled');
cy.get('.meta-test__EditReplicasetSaveBtn').should('be.enabled');
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/demo-panel-not-present.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ describe('Demo connection panel not exists', () => {
cy.get('a[href="/admin/cluster/schema"]').click();
cy.get('.meta-test__DemoInfo').should('not.exist');
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/demo-panel-present.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ describe('Demo connection panel exists', () => {
expect(loc.pathname).to.eq('/admin/cluster/dashboard');
});
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/download-configuration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ describe('Download configuration file', () => {
cy.get('[data-cy="file-input"]').upload({ fileContent, fileName, mimeType: 'application/json' });
}); */
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/edit-replicaset.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ describe('Edit Replica Set', () => {
cy.get('#root').contains('Edit is OK. Please wait for list refresh...'); //add to frontend-core classname for notification
})

});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/expel-server.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ describe('Expel server', () => {
cy.get('#root').contains('An error has occurred');

})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/join-replicaset.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ describe('Join Replica Set', () => {
cy.get('.meta-test__JoinReplicaSetBtn').click();
cy.get('#root').contains('Join is OK. Please wait for list refresh...');//add to frontend-core classname for notification
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/search.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ describe('Probe server', () => {
cy.get('li').contains('storage1-do-not-use-me');
cy.get('li').contains('router1-do-not-use-me').should('not.exist');
})
});
});
2 changes: 1 addition & 1 deletion webui/cypress/integration/server-details.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ describe('Detail server', () => {
cy.get('.meta-test__ServerInfoModal').closest('div').find('.meta-test__youAreHereIcon');
});

});
});
2 changes: 1 addition & 1 deletion webui/src/components/SchemaEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ export default class SchemaEditor extends React.Component {
/>
);
}
}
}
2 changes: 1 addition & 1 deletion webui/src/misc/files.utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ describe('validateFileNameExtension', () => {
ext => expect([ext, '=>', validateFileNameExtension(`name.${ext}`)]).toEqual([ext, '=>', false])
);
});
});
});
2 changes: 1 addition & 1 deletion webui/src/store/reducers/schema.reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ export const reducer = (state: SchemaState = initialState, action: schemaActions
default:
return state;
}
};
};

0 comments on commit 117025c

Please sign in to comment.