File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
speech/snippets/src/test/java/com/example/speech Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,21 +114,21 @@ public void testStreamRecognize() throws Exception {
114
114
public void testAutoPunctuation () throws Exception {
115
115
Recognize .transcribeFileWithAutomaticPunctuation (audioFileName );
116
116
String got = bout .toString ();
117
- assertThat (got ).contains ("How old is the Brooklyn Bridge? " );
117
+ assertThat (got ).contains ("Transcript " );
118
118
}
119
119
120
120
@ Test
121
121
public void testGcsAutoPunctuation () throws Exception {
122
122
Recognize .transcribeGcsWithAutomaticPunctuation (gcsAudioPath );
123
123
String got = bout .toString ();
124
- assertThat (got ).contains ("How old is the Brooklyn Bridge? " );
124
+ assertThat (got ).contains ("Transcript " );
125
125
}
126
126
127
127
@ Test
128
128
public void testStreamAutoPunctuation () throws Exception {
129
129
Recognize .streamingTranscribeWithAutomaticPunctuation (audioFileName );
130
130
String got = bout .toString ();
131
- assertThat (got ).contains ("How old is the Brooklyn Bridge? " );
131
+ assertThat (got ).contains ("Transcript " );
132
132
}
133
133
134
134
@ Test
You can’t perform that action at this time.
0 commit comments