🔥 Remove erroneous call to FreenetURI constructor
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Sep 2024 16:10:15 +0000 (18:10 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Sep 2024 16:10:15 +0000 (18:10 +0200)
src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt

index e5c0ddd..62418ab 100644 (file)
@@ -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"))
        }