diff --git a/Sources/XcbeautifyLib/JUnitReporter.swift b/Sources/XcbeautifyLib/JUnitReporter.swift index c39ecc42..1c970e20 100644 --- a/Sources/XcbeautifyLib/JUnitReporter.swift +++ b/Sources/XcbeautifyLib/JUnitReporter.swift @@ -20,7 +20,6 @@ package final class JUnitReporter { package init() { } package func add(captureGroup: any CaptureGroup) { - switch captureGroup { case let group as FailingTestCaptureGroup: let testCase = TestCase(classname: group.testSuite, name: group.testCase, time: nil, failure: .init(message: "\(group.file) - \(group.reason)"))