Skip to content

Commit f2c57a3

Browse files
committed
🛠 Addresses small warning.
1 parent 8e2d413 commit f2c57a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ExtensionsTests/PublisherSinksTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class PublisherSinksTests: XCTestCase {
234234
let emptyBagExpectation = createEmptyBagExpectation(from: bag)
235235

236236
/// Perform test
237-
var publisher: PassthroughSubject<String, MockError>? = .init()
237+
let publisher: PassthroughSubject<String, MockError>? = .init()
238238
publisher?.sink(receiveValue: { value in
239239
XCTFail("Publisher should not have published a value.")
240240
}, receiveError: { error in

0 commit comments

Comments
 (0)