Skip to content

Commit e445b1c

Browse files
Lampartermousemaid
andcommitted
🐛 Fix Run_Specifies_Cancellation_Token error
Co-authored-by: Esmerelda <[email protected]>
1 parent 6fb9559 commit e445b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Octokit.GraphQL.Core.UnitTests/ConnectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static async Task Run_Specifies_Cancellation_Token()
7070

7171
var connection = new Connection(ProductInformation, CredentialStore, httpClient);
7272

73-
await connection.Run(query, cancellationToken);
73+
await Assert.ThrowsAsync<TaskCanceledException>(() => connection.Run(query, cancellationToken));
7474
}
7575

7676
[Theory]

0 commit comments

Comments
 (0)