Skip to content

Commit aa2ec31

Browse files
author
Christian Elies
committed
test(remote image service): added missing #if canImport
1 parent a047423 commit aa2ec31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/RemoteImageTests/Services/RemoteImageServiceTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
// Created by Christian Elies on 15.12.19.
66
//
77

8+
#if canImport(SwiftUI) && canImport(UIKit)
89
import Combine
910
@testable import RemoteImage
11+
import SwiftUI
12+
import UIKit
1013
import XCTest
1114

1215
final class RemoteImageServiceTests: XCTestCase {
@@ -283,3 +286,4 @@ final class RemoteImageServiceTests: XCTestCase {
283286
}
284287
}
285288
}
289+
#endif

0 commit comments

Comments
 (0)