aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-08 11:05:39 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-11 11:09:12 -0700
commite331da2277a7a52deceeee17baa79ea4c7feefe8 (patch)
treef7237942d90598f1f8f72f9da44821f0d7eee93a /src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs
parenta8a73fd8d894db440db12317ca057bfe20676e8a (diff)
make Grpc.Core.Tests work with NUnit3
Diffstat (limited to 'src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs')
-rw-r--r--src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs b/src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs
index 90c510ec61..cec8c7ce6b 100644
--- a/src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs
+++ b/src/csharp/Grpc.Core.Tests/ContextPropagationTest.cs
@@ -105,7 +105,7 @@ namespace Grpc.Core.Tests
var parentCall = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(cancellationToken: cts.Token)));
await readyToCancelTcs.Task;
cts.Cancel();
- Assert.Throws(typeof(RpcException), async () => await parentCall);
+ Assert.ThrowsAsync(typeof(RpcException), async () => await parentCall);
Assert.AreEqual("CHILD_CALL_CANCELLED", await successTcs.Task);
}