We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b0f65 commit 56c4eccCopy full SHA for 56c4ecc
SwiftDrawTests/SVGTests.swift
@@ -72,6 +72,13 @@ final class SVGTests: XCTestCase {
72
XCTAssertNoThrow(try image.pdfData())
73
}
74
75
+ func testDeepNestingParsesBackgroundThread() async throws {
76
+ let svg = await Task {
77
+ SVG(named: "empire.svg", in: .test)
78
+ }.value
79
+ XCTAssertNotNil(svg)
80
+ }
81
+
82
#if canImport(UIKit)
83
func testRasterize() {
84
let svg = SVG(named: "gradient-apple.svg", in: .test)!
0 commit comments