We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Run_Specifies_Cancellation_Token
1 parent 6fb9559 commit e445b1cCopy full SHA for e445b1c
Octokit.GraphQL.Core.UnitTests/ConnectionTests.cs
@@ -70,7 +70,7 @@ public static async Task Run_Specifies_Cancellation_Token()
70
71
var connection = new Connection(ProductInformation, CredentialStore, httpClient);
72
73
- await connection.Run(query, cancellationToken);
+ await Assert.ThrowsAsync<TaskCanceledException>(() => connection.Run(query, cancellationToken));
74
}
75
76
[Theory]
0 commit comments