You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vare=awaitAssert.ThrowsAsync<ArgumentException>(async()=>awaittextSearch.GetSearchResultsAsync("What is the Semantic Kernel?",searchOptions));
225
+
vare=awaitAssert.ThrowsAsync<ArgumentException>(async()=>awaittextSearch.GetSearchResultsAsync("What is the Semantic Kernel?",searchOptions).ToListAsync());
231
226
Assert.Equal("Unknown equality filter clause field name 'fooBar', must be one of answerCount,cc,freshness,mkt,promote,responseFilter,safeSearch,setLang,textDecorations,textFormat,contains,ext,filetype,inanchor,inbody,intitle,ip,language,loc,location,prefer,site,feed,hasfeed,url (Parameter 'searchOptions')",e.Message);
@@ -231,7 +226,7 @@ public async Task DoesNotBuildsUriForInvalidQueryParameterAsync()
231
226
searchEngineId:"SearchEngineId");
232
227
233
228
// Act && Assert
234
-
vare=awaitAssert.ThrowsAsync<ArgumentException>(async()=>awaittextSearch.GetSearchResultsAsync("What is the Semantic Kernel?",searchOptions));
229
+
vare=awaitAssert.ThrowsAsync<ArgumentException>(async()=>awaittextSearch.GetSearchResultsAsync("What is the Semantic Kernel?",searchOptions).ToListAsync());
235
230
Assert.Equal("Unknown equality filter clause field name 'fooBar', must be one of cr,dateRestrict,exactTerms,excludeTerms,filter,gl,hl,linkSite,lr,orTerms,rights,siteSearch (Parameter 'searchOptions')",e.Message);
0 commit comments