SWXMLHash icon indicating copy to clipboard operation
SWXMLHash copied to clipboard

Add support for Swift Testing...

Open woolie opened this issue 6 months ago • 2 comments

Is your feature request related to a problem? Please describe. When using Swift Testing in Swift 6, trying to do an #expect(throws: XMLDeserializationError.***) {} fails to compile due to a requirement of Error types to be equatable using the #expect macro, which I assume is needed for enums with associated values (since I have not seem this problem crop us when I have used it without enum associated values).

Describe the solution you'd like I'd like equatable to be added for the errors enums

Describe alternatives you've considered For now I am commenting out my testing in those areas where I am expecting errors thrown.

Additional context

woolie avatar Aug 11 '24 19:08 woolie