From 8bd23036d9675a88d7f7b27314ca1e4cc19c7586 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 15 Jan 2017 10:27:04 +0100 Subject: [PATCH] Fix whitespace --- src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt | 8 ++++---- src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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) } -- 2.7.4