Created
July 14, 2020 17:10
-
-
Save stevencurtis/5b9aaa5d5d9092bf2b30a9cdbd438511 to your computer and use it in GitHub Desktop.
viewmodeltest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let expect = expectation(description: #function) | |
lvm?.password = "test" | |
lvm?.validLengthPassword.sink(receiveValue: {res in | |
XCTAssertEqual(res, false) | |
expect.fulfill() | |
}).store(in: &cancellables) | |
waitForExpectations(timeout: 2.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment