 
         } catch ServiceLocatorError.duplicateService(let duplicatedServiceName) {
             XCTAssertEqual(duplicatedServiceName, serviceName)
-        } catch let error {
+        } catch {
             XCTFail("💥: Got unexpected error `\(error)`")
         }
     }


        } catch ServiceLocatorError.inexistentService {
            // Expected result
        } catch let error {
            XCTFail("💥: Unregister failed with error: \(error)")
        }
    }


class ServiceLocatorTests : XCTestCase {
    
    var serviceLocator: ServiceLocator!
    
    override func setUp() {
        super.setUp()
