Fixed import in CGFloatTests.swift to work under non-Darwin platforms.

This commit is contained in:
Tim De Jong authored and Gwendal Roué committed 2025-10-12 18:03:57 +02:00
1 parent 8e5b9ca9bd
commit c7f1dd7470
1 file changed
+6 -1
+6 -1
View File
@@ -1,7 +1,12 @@
import XCTest
import CoreGraphics
import GRDB
#if canImport(CoreGraphics)
import CoreGraphics
#elseif !os(Darwin)
import Foundation
#endif
class CGFloatTests: GRDBTestCase {
func testCGFLoat() throws {