             fatalError()
         }
     }
+    // swiftlint:disable:next file_length
 }

            XCTAssertEqual(error.location, 6)
            XCTAssertEqual(error.failedComponent, .prereleaseIdentifiers)

            // TODO: expect partial result in error
        }
    }


            XCTAssertEqual(error.location, 11)
            XCTAssertEqual(error.failedComponent, .buildMetadataIdentifiers)

            let result = error.result
            XCTAssertEqual(result.major, 1)
            XCTAssertEqual(result.minor, 4)
            XCTAssertEqual(result.patch, 3)
            XCTAssertNotNil(result.prereleaseIdentifiers)
            XCTAssertEqual(result.prereleaseIdentifiers!, ["beta"])
            XCTAssertNotNil(result.buildMetadataIdentifiers)
            XCTAssertEqual(result.buildMetadataIdentifiers!, [])
        }
    }

