Skip to content
Snippets Groups Projects
Commit 8fe3f640 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

add coverage for AsyncStreamExtensions

parent 839e1d13
No related branches found
No related tags found
No related merge requests found
......@@ -155,10 +155,7 @@ namespace Grpc.Core.Tests
{
helper.ServerStreamingHandler = new ServerStreamingServerMethod<string, string>(async (request, responseStream, context) =>
{
foreach (string response in request.Split(new []{' '}))
{
await responseStream.WriteAsync(response);
}
await responseStream.WriteAllAsync(request.Split(new []{' '}));
context.ResponseTrailers.Add("xyz", "");
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment