diff --git a/Tests/RxCocoaTests/Control+RxTests+UIKit.swift b/Tests/RxCocoaTests/Control+RxTests+UIKit.swift index d954f964..03a53ba4 100644 --- a/Tests/RxCocoaTests/Control+RxTests+UIKit.swift +++ b/Tests/RxCocoaTests/Control+RxTests+UIKit.swift @@ -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)