From 943bbf6848a5975cb994f75f812ef215af62475f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 13 Oct 2017 08:15:17 +0200 Subject: [PATCH] Fix test --- src/test/kotlin/net/pterodactylus/sone/template/ParserFilterTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/net/pterodactylus/sone/template/ParserFilterTest.kt b/src/test/kotlin/net/pterodactylus/sone/template/ParserFilterTest.kt index ac2886a..00f3d04 100644 --- a/src/test/kotlin/net/pterodactylus/sone/template/ParserFilterTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/template/ParserFilterTest.kt @@ -63,7 +63,7 @@ class ParserFilterTest { parameters.put("sone", soneOrSoneId) filter.format(templateContext, "text", parameters) val context = forClass(SoneTextParserContext::class.java) - verify(soneTextParser).parse(eq("text"), context.capture()) + verify(soneTextParser).parse(eq("text") ?: "", context.capture()) assertThat(context.value.postingSone, `is`(sone)) } -- 2.7.4