Commit 019f777b by Dima Bart

Fix operation test.

parent 0935d49b
...@@ -66,10 +66,10 @@ ...@@ -66,10 +66,10 @@
[operation cancel]; [operation cancel];
XCTAssertTrue(operation.isCancelled); XCTAssertTrue(operation.isCancelled);
XCTAssertTrue(operation.isFinished); XCTAssertFalse(operation.isFinished);
[operation cancelExecution]; [operation cancelExecution];
XCTAssertTrue(operation.isFinished); XCTAssertFalse(operation.isFinished); // State isn't changed if operation is cancelled
} }
@end @end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment