Correction for rx_itemAccessoryButtonTapped unit test - use testRow value for delegate call
This commit is contained in:
parent
79163619be
commit
7e78517f8a
|
|
@ -382,7 +382,7 @@ extension ControlTests {
|
|||
}
|
||||
|
||||
let testRow = NSIndexPath(forRow: 1, inSection: 0)
|
||||
tableView.delegate!.tableView!(tableView, accessoryButtonTappedForRowWithIndexPath: NSIndexPath(forRow: 1, inSection: 0))
|
||||
tableView.delegate!.tableView!(tableView, accessoryButtonTappedForRowWithIndexPath: testRow)
|
||||
|
||||
XCTAssertEqual(selectedItem, testRow)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue