Fix a couple of warnings

This commit is contained in:
Stefan Ceriu
2026-02-02 10:00:08 +02:00
committed by Stefan Ceriu
parent c18b4b4f70
commit 37ee5c9c7e
5 changed files with 8 additions and 11 deletions
@@ -148,7 +148,6 @@ class ComposerToolbarViewModelTests: XCTestCase {
viewModel.context.send(viewAction: .selectedSuggestion(suggestion))
var string = "@room"
// swiftlint:disable:next force_unwrapping
try string.unicodeScalars.append(XCTUnwrap(UnicodeScalar(String.nbsp)))
XCTAssertEqual(wysiwygViewModel.content.html, string)
}