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: remove opt-in formatting coverage
altic-dev40d39755e8eb
diff --git a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swiftindex bb430d3b..65f1a90f 100644--- a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift+++ b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift@@ -331,21 +331,6 @@ final class DictationE2ETests: XCTestCase {}}- func testSlashCommandFormattingNormalizesSpokenAndLiteralCommands() {- XCTAssertEqual(- ASRService.applySlashCommandFormatting("Run slash status and then / model."),- "Run /status and then /model."- )- XCTAssertEqual(- ASRService.applySlashCommandFormatting("Type forward slash fix-ci."),- "Type /fix-ci."- )- XCTAssertEqual(- ASRService.applySlashCommandFormatting("slash compact"),- "/compact"- )- }-func testSlashCommandFormattingLeavesNonCommandSlashUsageAlone() {let text = "Use 1/2 and and/or. Open src slash services. Go to https slash slash example dot com. Slash and burn."@@ -375,56 +360,6 @@ final class DictationE2ETests: XCTestCase {}}- func testMentionFormattingExplicitPhrasesWorkWithoutAppContext() {- XCTAssertEqual(- ASRService.applyMentionFormatting("tag Paul"),- "@Paul"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("mention Paul Heinz, please"),- "@Paul Heinz, please"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("at sign maxgaav"),- "@maxgaav"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("at the rate Sarah"),- "@Sarah"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("mention Paul please"),- "@Paul please"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("tag Paul tomorrow"),- "@Paul tomorrow"- )- }-- func testMentionFormattingRelaxedAtNameRequiresMentionAppContext() {- XCTAssertEqual(- ASRService.applyMentionFormatting(- "at Paul can you check this",- appName: "Slack",- bundleID: "com.tinyspeck.slackmacgap"- ),- "@Paul can you check this"- )- XCTAssertEqual(- ASRService.applyMentionFormatting(- "hey at Paul Heinz can you check this",- appName: "Discord",- bundleID: "com.hnc.Discord"- ),- "hey @Paul Heinz can you check this"- )- XCTAssertEqual(- ASRService.applyMentionFormatting("at Paul can you check this", appName: "Notes", bundleID: "com.apple.Notes"),- "at Paul can you check this"- )- }-func testMentionFormattingLeavesProseAlone() {let text = "I am at the store. Meet me at lunch. I am at Paul. Look at Paul's message."@@ -539,19 +474,6 @@ final class DictationE2ETests: XCTestCase {}}- func testSpokenPunctuationFormattingPreservesSlashCommandSpacing() {- self.withRestoredDefaults(keys: self.punctuationFormattingDefaultsKeys) {- UserDefaults.standard.set(true, forKey: self.autoConvertPunctuationEnabledKey)-- let text = ASRService.applySpokenPunctuationFormatting("Run slash status and open src slash services")- XCTAssertEqual(text, "Run slash status and open src slash services")- XCTAssertEqual(- ASRService.applySlashCommandFormatting(text),- "Run /status and open src slash services"- )- }- }-func testSpokenPunctuationFormattingCleansGeneratedCommaNoiseWithPrefix() {self.withRestoredDefaults(keys: self.punctuationFormattingDefaultsKeys) {UserDefaults.standard.set(true, forKey: self.autoConvertPunctuationEnabledKey)@@ -662,41 +584,6 @@ final class DictationE2ETests: XCTestCase {}}- func testTerminalLiteralAutocompleteSpacingRemovesTrailingSpaceForTargetApps() {- XCTAssertEqual(- ASRService.applyTerminalLiteralAutocompleteSpacing(- "/model ",- appName: "Codex",- bundleID: "com.openai.codex"- ),- "/model"- )- XCTAssertEqual(- ASRService.applyTerminalLiteralAutocompleteSpacing(- "hey @Paul Heinz ",- appName: "Slack",- bundleID: "com.tinyspeck.slackmacgap"- ),- "hey @Paul Heinz"- )- XCTAssertEqual(- ASRService.applyTerminalLiteralAutocompleteSpacing(- " @Paul ",- appName: "Slack",- bundleID: "com.tinyspeck.slackmacgap"- ),- " @Paul"- )- XCTAssertEqual(- ASRService.makeDictationLiteralOutputPlan(- for: "@ross.winn ",- appName: "Discord",- bundleID: "com.hnc.Discord"- ).plainText,- "@ross.winn"- )- }-func testTerminalLiteralAutocompleteSpacingLeavesNonAutocompleteTextAlone() {XCTAssertEqual(ASRService.applyTerminalLiteralAutocompleteSpacing(