Skip to content

Commit

Permalink
Merge pull request #5 from trafi/refactor/forcedValues
Browse files Browse the repository at this point in the history
Remove forced values
  • Loading branch information
Domas Nutautas authored Nov 12, 2019
2 parents a1951c0 + 286063e commit d4f005f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions StoryFlowTests/ImplicitFlowTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ImplicitFlowTests: XCTestCase {

// Assert
XCTAssert(currentVc is To)
XCTAssert((currentVc as! To).input === output)
XCTAssert((currentVc as? To)?.input === output)
}

func testProduce_itShowsNextVcByOneOfOutputType() {
Expand Down Expand Up @@ -561,7 +561,7 @@ class ImplicitFlowTests: XCTestCase {

// Assert
XCTAssert(currentVc is To)
XCTAssert((currentVc as! To).input === transformedOutput)
XCTAssert((currentVc as? To)?.input === transformedOutput)

// Clean up
OutputTransform.reset()
Expand All @@ -587,7 +587,7 @@ class ImplicitFlowTests: XCTestCase {

// Assert
XCTAssert(currentVc is To)
XCTAssert((currentVc as! To).input === transformedOutput)
XCTAssert((currentVc as? To)?.input === transformedOutput)

// Clean up
OutputTransform.reset()
Expand All @@ -613,7 +613,7 @@ class ImplicitFlowTests: XCTestCase {

// Assert
XCTAssert(currentVc is To)
XCTAssert((currentVc as! To).input === transformedOutput)
XCTAssert((currentVc as? To)?.input === transformedOutput)

// Clean up
OutputTransform.reset()
Expand All @@ -639,7 +639,7 @@ class ImplicitFlowTests: XCTestCase {

// Assert
XCTAssert(currentVc is To)
XCTAssert((currentVc as! To).input === transformedOutput)
XCTAssert((currentVc as? To)?.input === transformedOutput)

// Clean up
OutputTransform.reset()
Expand Down

0 comments on commit d4f005f

Please sign in to comment.