     func test__repeatable_operation() {
 
         var errors: [ErrorType] = []
-        let operation = RepeatedOperation(maxCount: 10) {() -> RepeatableOperation<TestOperation> in
+        let operation = RepeatedOperation(maxCount: 10) { () -> RepeatableOperation<TestOperation> in
 
             let op = TestOperation(error: TestOperation.Error.SimulatedError)
             op.addObserver(DidFinishObserver { _, e in

class RepeatableRepeatedOperationTests: OperationTests {

    func test__repeated_operation_repeats() {
        let operation = RepeatedOperation { return RepeatingTestOperation() }

        addCompletionBlockToTestOperation(operation, withExpectation: expectationWithDescription("Test: \(__FUNCTION__)"))
        runOperation(operation)

    }

    func test__repeated_with_max_number_of_attempts() {
        let operation = RepeatedOperation(maxCount: 2) { RepeatingTestOperation() }

        addCompletionBlockToTestOperation(operation, withExpectation: expectationWithDescription("Test: \(__FUNCTION__)"))
        runOperation(operation)
