From 9b025ac46ca994cf170665e8e36ba59c5f288a8a Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 7 May 2020 17:52:53 +0200 Subject: [PATCH] #764 detekt issues fix detekt issues fix --- .../kotlin/ftl/reports/xml/preprocesor/XmlPreprocessor.kt | 2 +- test_runner/src/test/kotlin/ftl/reports/xml/JUnitXmlTest.kt | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test_runner/src/main/kotlin/ftl/reports/xml/preprocesor/XmlPreprocessor.kt b/test_runner/src/main/kotlin/ftl/reports/xml/preprocesor/XmlPreprocessor.kt index 8dc28138a9..2c591b35a2 100644 --- a/test_runner/src/main/kotlin/ftl/reports/xml/preprocesor/XmlPreprocessor.kt +++ b/test_runner/src/main/kotlin/ftl/reports/xml/preprocesor/XmlPreprocessor.kt @@ -11,4 +11,4 @@ fun fixHtmlCodes(data: String): String { fixedStr = fixedStr.replace(isoControlCode, "") } return fixedStr -} \ No newline at end of file +} diff --git a/test_runner/src/test/kotlin/ftl/reports/xml/JUnitXmlTest.kt b/test_runner/src/test/kotlin/ftl/reports/xml/JUnitXmlTest.kt index 0ffd4229e4..10bbbb7270 100644 --- a/test_runner/src/test/kotlin/ftl/reports/xml/JUnitXmlTest.kt +++ b/test_runner/src/test/kotlin/ftl/reports/xml/JUnitXmlTest.kt @@ -5,7 +5,6 @@ import ftl.test.util.TestHelper.normalizeLineEnding import java.nio.file.Paths import org.junit.Test - class JUnitXmlTest { companion object { @@ -441,8 +440,6 @@ junit.framework.Assert.fail(Assert.java:50) """.trimIndent() assertThat(merged).isEqualTo(expected) } - - @Test fun `parse ftl quirks`() { val crashingAllSuitesMessage = """ @@ -470,8 +467,5 @@ junit.framework.Assert.fail(Assert.java:50) parseAllSuitesXml(crashingAllSuitesMessage) parseOneSuiteXml(crashingOneSuiteMessage) - } - } -