             XCTAssertEqual(error.location, 2)
             XCTAssertEqual(error.failedComponent, .minor)
 
-            // TODO: expect partial result in error
+            let result = error.result
+            XCTAssertEqual(result.major, 1)
+            XCTAssertNil(result.minor)
+            XCTAssertNil(result.patch)
+            XCTAssertNil(result.prereleaseIdentifiers)
+            XCTAssertNil(result.buildMetadataIdentifiers)
         }
     }
 

            guard let error = error as? SemanticVersionParser.ParsingError else { XCTFail(); return }
            XCTAssertEqual(error.location, 7)
            XCTAssertEqual(error.failedComponent, .patch)
            // TODO: expect partial result in error
        }
    }


            XCTAssertEqual(error.location, 0)
            XCTAssertEqual(error.failedComponent, .major)

            let result = error.result
            XCTAssertNil(result.major)
            XCTAssertNil(result.minor)
            XCTAssertNil(result.patch)
            XCTAssertNil(result.prereleaseIdentifiers)
            XCTAssertNil(result.buildMetadataIdentifiers)
        }
    }

