Running tests fails with compile error
valeriyvan opened this issue · 0 comments
valeriyvan commented
swift test
Building for debugging...
/Users/******/swift-geometrize/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:46:8: error: 'curveTo' is only available in macOS 11.0 or newer
.curveTo: "CurveTo",
^
/Users/******/swift-geometrize/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:46:8: note: add 'if #available' version check
.curveTo: "CurveTo",
^
/Users/******/swift-geometrize/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:42:22: note: add @available attribute to enclosing static method
public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
^