mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-11 23:55:07 -05:00
dataplex
This commit is contained in:
@@ -517,8 +517,8 @@ func runDataplexSearchEntriesToolInvokeTest(t *testing.T, tableName string, data
|
||||
t.Fatalf("expected entry to have key '%s', but it was not found in %v", tc.wantContentKey, entry)
|
||||
}
|
||||
} else {
|
||||
if len(entries) != 0 {
|
||||
t.Fatalf("expected 0 entries, but got %d", len(entries))
|
||||
if !strings.Contains(resultStr, `"error":`) {
|
||||
t.Fatalf("expected an error message in the result, but got: %s", resultStr)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user