mchoe / SwiftSVG

A simple, performant, and lightweight SVG parser
Other
1.92k stars 230 forks source link

Close path test to test last element is a close path element #154

Closed mchoe closed 4 years ago

mchoe commented 4 years ago

The test was written wrong. According to the docs, a CGPathElementType of type closeSubpath does not contain any points.

https://developer.apple.com/documentation/coregraphics/cgpathelementtype/closesubpath