Skip to content

Commit 864f6c3

Browse files
mackojmluisbrown
authored andcommitted
Update Mock.swift (#213)
Add missing optional related to #205
1 parent c13bfd5 commit 864f6c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/ComposableCoreLocation/Mock.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
heading: @escaping (AnyHashable) -> Heading? = { _ in _unimplemented("heading") },
5757
headingAvailable: @escaping () -> Bool = { _unimplemented("headingAvailable") },
5858
isRangingAvailable: @escaping () -> Bool = { _unimplemented("isRangingAvailable") },
59-
location: @escaping (AnyHashable) -> Location = { _ in _unimplemented("location") },
59+
location: @escaping (AnyHashable) -> Location? = { _ in _unimplemented("location") },
6060
locationServicesEnabled: @escaping () -> Bool = { _unimplemented("locationServicesEnabled") },
6161
maximumRegionMonitoringDistance: @escaping (AnyHashable) -> CLLocationDistance = { _ in
6262
_unimplemented("maximumRegionMonitoringDistance")
@@ -157,7 +157,7 @@
157157
},
158158
heading: @escaping (AnyHashable) -> Heading? = { _ in _unimplemented("heading") },
159159
headingAvailable: @escaping () -> Bool = { _unimplemented("headingAvailable") },
160-
location: @escaping (AnyHashable) -> Location = { _ in _unimplemented("location") },
160+
location: @escaping (AnyHashable) -> Location? = { _ in _unimplemented("location") },
161161
locationServicesEnabled: @escaping () -> Bool = { _unimplemented("locationServicesEnabled") },
162162
requestAlwaysAuthorization: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
163163
_unimplemented("requestAlwaysAuthorization")
@@ -216,7 +216,7 @@
216216
_unimplemented("create")
217217
},
218218
destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
219-
location: @escaping (AnyHashable) -> Location = { _ in _unimplemented("location") },
219+
location: @escaping (AnyHashable) -> Location? = { _ in _unimplemented("location") },
220220
locationServicesEnabled: @escaping () -> Bool = { _unimplemented("locationServicesEnabled") },
221221
requestLocation: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
222222
_unimplemented("requestLocation")
@@ -257,7 +257,7 @@
257257
},
258258
destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
259259
headingAvailable: @escaping () -> Bool = { _unimplemented("headingAvailable") },
260-
location: @escaping (AnyHashable) -> Location = { _ in _unimplemented("location") },
260+
location: @escaping (AnyHashable) -> Location? = { _ in _unimplemented("location") },
261261
locationServicesEnabled: @escaping () -> Bool = { _unimplemented("locationServicesEnabled") },
262262
maximumRegionMonitoringDistance: @escaping (AnyHashable) -> CLLocationDistance = { _ in
263263
_unimplemented("maximumRegionMonitoringDistance")

0 commit comments

Comments
 (0)