Skip to content

Commit 7b92531

Browse files
committed
added test
1 parent 9ccfdf1 commit 7b92531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

speech/grpc/src/test/java/com/google/cloud/speech/grpc/demos/AudioRequestFactoryTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void verifyBytesInSizeFromLocalFile() throws IOException {
4242
int numBytes = audio.getContent().toByteArray().length;
4343

4444
//assert the number of bytes in the audio as 57958
45-
assertEquals(numBytes, 57958);
45+
assertEquals(57958, numBytes);
4646
}
4747

4848
@Test
@@ -53,6 +53,6 @@ public void verifyBytesInSizeFromGoogleStorageFile() throws IOException {
5353
int numBytes = audio.getContent().toByteArray().length;
5454

5555
//assert the number of bytes in the audio as 57958
56-
assertEquals(numBytes, 57958);
56+
assertEquals(57958, numBytes);
5757
}
5858
}

0 commit comments

Comments
 (0)