From: David ‘Bombe’ Roden Date: Sun, 15 Jan 2017 09:27:04 +0000 (+0100) Subject: Fix whitespace X-Git-Tag: 0.9.7^2~335 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=8bd23036d9675a88d7f7b27314ca1e4cc19c7586 Fix whitespace --- diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt index 0da4f24..252eae3 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt @@ -30,7 +30,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `request without parameters lists all sones`() { - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("3")) @@ -42,7 +42,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `skipping the first sone lists the last two sones`() { parameters += "StartSone" to "1" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("2")) @@ -53,7 +53,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `requesting only two sones lists the first two sones`() { parameters += "MaxSones" to "2" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("2")) @@ -64,7 +64,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `skipping more sones than there are lists no sones`() { parameters += "StartSone" to "20" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("0")) diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt index 792c1b7..86fb586 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt @@ -17,7 +17,7 @@ import org.mockito.Mockito.verify */ class LikePostCommandTest : SoneCommandTest() { - private val post = createPost("PostId", mock(), null, 1000, "Text") + private val post = createPost("PostId", mock(), null, 1000, "Text") override fun createCommand(core: Core) = LikePostCommand(core) @@ -35,7 +35,7 @@ class LikePostCommandTest : SoneCommandTest() { @Test fun `request without parameters results in FCP exception`() { - requestWithoutAnyParameterResultsInFcpException() + requestWithoutAnyParameterResultsInFcpException() } @Test @@ -47,7 +47,7 @@ class LikePostCommandTest : SoneCommandTest() { @Test fun `request with missing local sone results in FCP exception`() { - parameters += "Post" to "PostId" + parameters += "Post" to "PostId" expectedException.expect(FcpException::class.java) command.execute(parameters) }