From ae22199db9d0b8a5a6d89ca5b8bdfd14308d94e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 28 Sep 2024 18:10:15 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=94=A5=20Remove=20erroneous=20call=20to=20?= =?utf8?q?FreenetURI=20constructor?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt b/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt index e5c0ddd..62418ab 100644 --- a/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt @@ -18,7 +18,6 @@ package net.pterodactylus.sone.text import com.google.inject.Guice.* -import freenet.keys.FreenetURI import net.pterodactylus.sone.data.* import net.pterodactylus.sone.data.impl.* import net.pterodactylus.sone.database.* @@ -255,7 +254,6 @@ class SoneTextParserTest { fun `broken usk links is parsed as plain text`() { val context = SoneTextParserContext(IdOnlySone("qM1nmgU-YUnIttmEhqjTl7ifAF3Z6o~5EPwQW03uEQU")) val parts = soneTextParser.parse("USK@/someCrazyName.R1/0", context) - FreenetURI("USK@/someCrazyName.R1/0") assertThat("Part Text", convertText(parts), equalTo("USK@/someCrazyName.R1/0")) } -- 2.7.4