X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5dbb2e42e88e78bfc79b473b5b1dc466d8dbbf62..1a1e3835458e37b4b56897d6ff7804660798d60c:/voice_helper_test.go diff --git a/voice_helper_test.go b/voice_helper_test.go index 326d7a8..9408415 100644 --- a/voice_helper_test.go +++ b/voice_helper_test.go @@ -9,6 +9,12 @@ import ( "github.com/stretchr/testify/require" ) +const voiceTestScript = ` +while [ "$1" != --output-file ]; do shift; done +shift +printf 'A made-up voice transcript.\n' > "$1.txt" +` + func voiceTestInput(t *testing.T, script string) (*VoiceStore, *VoiceTranscriber) { t.Helper()