Skip to content

Commit

Permalink
update test case, #220
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed May 2, 2020
1 parent b09d7fc commit 6c10f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SwimatTests/ExtensionTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ class ExtensionTest: XCTestCase {
}

func testTernary() throws {
let ternary = "?bb:cc"
let ternary = "?-bb:-cc"
if let result = ternary.findTernary(from: ternary.startIndex) {
assert(result == ("? bb : cc", ternary.endIndex))
assert(result == ("? -bb : -cc", ternary.endIndex))
} else {
assertionFailure()
}
Expand Down

0 comments on commit 6c10f7c

Please sign in to comment.