Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lampajr committed Mar 25, 2024
1 parent 688c0d6 commit da0febc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ public async Task WritesRequestGeneratorBodyForScalarCollection()
Assert.Contains("requestInfo.AddQueryParameters(", result);
Assert.Contains("requestInfo.AddRequestOptions(", result);
Assert.Contains("cast := make([]interface{}, ", result);
Assert.Contains("cast[i] = v, ", result);
Assert.Contains("cast[i] = v", result);
Assert.Contains("requestInfo.SetContentFromScalarCollection(ctx, m.BaseRequestBuilder.RequestAdapter", result);
Assert.Contains("return requestInfo, nil", result);
AssertExtensions.CurlyBracesAreClosed(result);
Expand Down Expand Up @@ -1307,6 +1307,7 @@ public async Task WritesRequestGeneratorBodyForParsableCollection()
Assert.Contains("if c.Q != nil", result);
Assert.Contains("requestInfo.AddQueryParameters(", result);
Assert.Contains("requestInfo.AddRequestOptions(", result);
Assert.Contains("cast[i] =", result);
Assert.Contains("requestInfo.SetContentFromParsableCollection(ctx, m.BaseRequestBuilder.RequestAdapter", result);
Assert.Contains("return requestInfo, nil", result);
AssertExtensions.CurlyBracesAreClosed(result);
Expand Down

0 comments on commit da0febc

Please sign in to comment.