Skip to content

Commit

Permalink
Integration tests passing on net452 and netcoreapp1.1 on Windows (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdunelm authored May 10, 2017
1 parent ae04253 commit f4250c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task Cancellation()
// Tests that the local listener will be cancelled properly.
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(1));

await Assert.ThrowsAsync<TaskCanceledException>(async () =>
await Assert.ThrowsAnyAsync<OperationCanceledException>(async () =>
{
await GoogleWebAuthorizationBroker.AuthorizeAsync(
Helper.GetClientSecretStream(), new string[] { StorageService.Scope.CloudPlatformReadOnly },
Expand Down

0 comments on commit f4250c8

Please sign in to comment.