]> git.giacomolli.uk - onechat/blobdiff - voice_transcriber_test.go
Separate multiline Go statements
[onechat] / voice_transcriber_test.go
index c9e24bc5903c51fdd12fbcb670917952da010fe8..c04d091aab39ea70239dc2f13321d3304e22027e 100644 (file)
@@ -29,6 +29,7 @@ printf '  A made-up voice transcript.\n' > "$output.txt"
 printf 'private speech in process output'
 printf 'private speech in process errors' >&2
 `)
+
        data := []byte("made-up audio")
        text := transcriber.Text(t.Context(), store, data)
        require.Contains(t, text, "[voice ")
@@ -70,6 +71,7 @@ func TestVoiceFailuresKeepStoredAudioAndSafeMarkers(t *testing.T) {
                        script: "while [ \"$1\" != --output-file ]; do shift; done; shift; touch \"$1.txt\"",
                },
        }
+
        for _, tc := range testCases {
                t.Run(tc.name, func(t *testing.T) {
                        store, transcriber := voiceTestInput(t, tc.script)
@@ -208,6 +210,7 @@ func TestVoiceLookupHonorsExplicitThenNixThenPath(t *testing.T) {
                        program: valid.Transcriber,
                },
        }
+
        for _, tc := range testCases {
                t.Run(tc.name, func(t *testing.T) {
                        program, model, err := voiceLookup(tc.config, tc.program, tc.model)