From: David ‘Bombe’ Roden Date: Thu, 25 May 2017 11:26:56 +0000 (+0200) Subject: Fix test formatting X-Git-Tag: 0.9.7^2~196 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=29673a06876521c18d299c777a61846aed851aaa;p=Sone.git Fix test formatting --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/OptionsPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/OptionsPageTest.kt index c7b3423..dc73874 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/OptionsPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/OptionsPageTest.kt @@ -18,7 +18,7 @@ import org.junit.Test /** * Unit test for [OptionsPage]. */ -class OptionsPageTest : WebPageTest() { +class OptionsPageTest: WebPageTest() { private val page = OptionsPage(template, webInterface) @@ -54,7 +54,7 @@ class OptionsPageTest : WebPageTest() { @Test fun `page returns correct path`() { - assertThat(page.path, equalTo("options.html")) + assertThat(page.path, equalTo("options.html")) } @Test @@ -64,7 +64,7 @@ class OptionsPageTest : WebPageTest() { @Test fun `page returns correct title`() { - addTranslation("Page.Options.Title", "options page title") + addTranslation("Page.Options.Title", "options page title") assertThat(page.getPageTitle(freenetRequest), equalTo("options page title")) }