Skip to content

Commit

Permalink
Update NumberFactModelTests.swift (#146)
Browse files Browse the repository at this point in the history
Line missing from committed sample that is in the transcript of the video and which seems to be necessary in Xcode 17beta6 to make this test pass.
  • Loading branch information
GeekAndDad authored Aug 14, 2023
1 parent e42c42d commit 388b2c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ final class NumberFactModelTests: XCTestCase {
model.getFactButtonTapped()
XCTAssertEqual(model.isLoading, true)
fact.send("0 is a good number.")
fact.send(completion: .finished)
XCTAssertEqual(model.fact, "0 is a good number.")
XCTAssertEqual(model.isLoading, false)
}
Expand Down

0 comments on commit 388b2c2

Please sign in to comment.