Skip to content

Commit

Permalink
fix(vertexai): test name typos in error messages. (#4144)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deleplace committed May 24, 2024
1 parent 5856233 commit 3c1be06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vertexai/multimodal-audio/multimodalaudio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Test_summarizeAudio(t *testing.T) {

err := summarizeAudio(buf, prompt, tc.ProjectID, location, modelName)
if err != nil {
t.Errorf("Test_generateMultimodalContent: %v", err.Error())
t.Errorf("Test_summarizeAudio: %v", err.Error())
}
}

Expand All @@ -59,7 +59,7 @@ func Test_transcribeAudio(t *testing.T) {

err := transcribeAudio(buf, prompt, tc.ProjectID, location, modelName)
if err != nil {
t.Fatalf("Test_generateMultimodalContent: %v", err.Error())
t.Fatalf("Test_transcribeAudio: %v", err.Error())
}

transcript := buf.String()
Expand Down
2 changes: 1 addition & 1 deletion vertexai/multimodal-pdf/pdf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Test_generateContentFromPDF(t *testing.T) {

err := generateContentFromPDF(buf, prompt, tc.ProjectID, location, modelName)
if err != nil {
t.Errorf("Test_generateMultimodalContent: %v", err.Error())
t.Errorf("Test_generateContentFromPDF: %v", err.Error())
}

generatedSummary := buf.String()
Expand Down

0 comments on commit 3c1be06

Please sign in to comment.