Re-enable unit tests and fix a few lint warnings

This commit is contained in:
aringenbach
2023-04-20 16:01:17 +02:00
parent 616238f13b
commit a3f7d0433a
6 changed files with 23 additions and 24 deletions
@@ -103,8 +103,7 @@ final class CompletionSuggestionCoordinator: Coordinator, Presentable {
completionSuggestionService.items.sink { [weak self] _ in
guard let self = self else { return }
self.delegate?.completionSuggestionCoordinator(self,
didUpdateViewHeight: self.calculateViewHeight())
self.delegate?.completionSuggestionCoordinator(self, didUpdateViewHeight: self.calculateViewHeight())
}.store(in: &cancellables)
}
@@ -233,11 +232,7 @@ private class CompletionSuggestionCoordinatorCommandProvider: CommandsProviderPr
}
func fetchCommands(_ commands: @escaping ([CommandsProviderCommand]) -> Void) {
commands(self.commands.map { CommandsProviderCommand(
name: $0.cmd,
parametersFormat: $0.parametersFormat,
description: $0.description
)})
commands(self.commands.map { CommandsProviderCommand(name: $0.cmd, parametersFormat: $0.parametersFormat, description: $0.description) })
}
}