From: David ‘Bombe’ Roden Date: Sun, 23 Apr 2017 14:10:53 +0000 (+0200) Subject: Fix test names X-Git-Tag: 0.9.7^2~243 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=be19285f3675a43301737169f5f3c19cde489da7;p=Sone.git Fix test names --- diff --git a/src/test/kotlin/net/pterodactylus/sone/core/DefaultElementLoaderTest.kt b/src/test/kotlin/net/pterodactylus/sone/core/DefaultElementLoaderTest.kt index ed66dd9..40d0054 100644 --- a/src/test/kotlin/net/pterodactylus/sone/core/DefaultElementLoaderTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/core/DefaultElementLoaderTest.kt @@ -71,21 +71,21 @@ class DefaultElementLoaderTest { } @Test - fun `element loader does cancel on audio mime type`() { + fun `element loader does cancel on audio mime type`() { elementLoader.loadElement(IMAGE_ID) verify(freenetInterface).startFetch(eq(freenetURI), callback.capture()) assertThat(callback.value.shouldCancel(freenetURI, "audio/mpeg", sizeOkay), `is`(true)) } @Test - fun `element loader does not cancel on video mime type`() { + fun `element loader does cancel on video mime type`() { elementLoader.loadElement(IMAGE_ID) verify(freenetInterface).startFetch(eq(freenetURI), callback.capture()) assertThat(callback.value.shouldCancel(freenetURI, "video/mkv", sizeOkay), `is`(true)) } @Test - fun `element loader does not cancel on text mime type`() { + fun `element loader does cancel on text mime type`() { elementLoader.loadElement(IMAGE_ID) verify(freenetInterface).startFetch(eq(freenetURI), callback.capture()) assertThat(callback.value.shouldCancel(freenetURI, "text/plain", sizeOkay), `is`(true))