Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
VersionTest, VersionedAddressBookTest: Use 8-spaces indent for parame…
Browse files Browse the repository at this point in the history
…ter lists

VersionTest and VersionedAddressBookTest contain tests that align
multi-line parameter lists instead of using 8-spaces to indent the
lines.

Let's bring them in line with our coding style.
  • Loading branch information
sijie123 authored and pyokagan committed Apr 23, 2019
1 parent 18c09b4 commit 52eb022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/java/seedu/address/commons/core/VersionTest.java
Expand Up @@ -133,7 +133,7 @@ public void versionComparable_validVersion_equalIsCorrect() {
}

private void verifyVersionParsedCorrectly(String versionString,
int major, int minor, int patch, boolean isEarlyAccess) {
int major, int minor, int patch, boolean isEarlyAccess) {
assertEquals(new Version(major, minor, patch, isEarlyAccess), Version.fromString(versionString));
}
}
Expand Up @@ -241,9 +241,9 @@ public void equals() {
* and states after {@code versionedAddressBook#currentStatePointer} is equal to {@code expectedStatesAfterPointer}.
*/
private void assertAddressBookListStatus(VersionedAddressBook versionedAddressBook,
List<ReadOnlyAddressBook> expectedStatesBeforePointer,
ReadOnlyAddressBook expectedCurrentState,
List<ReadOnlyAddressBook> expectedStatesAfterPointer) {
List<ReadOnlyAddressBook> expectedStatesBeforePointer,
ReadOnlyAddressBook expectedCurrentState,
List<ReadOnlyAddressBook> expectedStatesAfterPointer) {
// check state currently pointing at is correct
assertEquals(new AddressBook(versionedAddressBook), expectedCurrentState);

Expand Down

0 comments on commit 52eb022

Please sign in to comment.