Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
test: avoid force unwraps in cache test
altic-dev18f68cbe720c
diff --git a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swiftindex 4f5761fe..9e16ffa5 100644--- a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift+++ b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift@@ -892,8 +892,10 @@ final class DictationE2ETests: XCTestCase {try FileManager.default.createDirectory(at: modelDirectory, withIntermediateDirectories: true)let model = SettingsStore.SpeechModel.whisperTiny- let ggufURL = modelDirectory.appendingPathComponent(model.whisperModelFile!)- let legacyURL = modelDirectory.appendingPathComponent(model.legacyWhisperModelFile!)+ let ggufFilename = try XCTUnwrap(model.whisperModelFile)+ let legacyFilename = try XCTUnwrap(model.legacyWhisperModelFile)+ let ggufURL = modelDirectory.appendingPathComponent(ggufFilename)+ let legacyURL = modelDirectory.appendingPathComponent(legacyFilename)try Self.createSparseFile(at: ggufURL, size: model.expectedDownloadBytes)try Data([0x01, 0x02, 0x03]).write(to: legacyURL)