mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
fix expected exceptions
This commit is contained in:
@@ -32,7 +32,7 @@ public class ObservableIssuesClientTests
|
||||
|
||||
await Assert.ThrowsAsync<ArgumentNullException>(() => client.Get(null, "name", 1).ToTask());
|
||||
await Assert.ThrowsAsync<ArgumentNullException>(() => client.Get("owner", null, 1).ToTask());
|
||||
await Assert.ThrowsAsync<ArgumentException>(() => client.Get(null, "", 1).ToTask());
|
||||
await Assert.ThrowsAsync<ArgumentNullException>(() => client.Get(null, "", 1).ToTask());
|
||||
await Assert.ThrowsAsync<ArgumentException>(() => client.Get("", null, 1).ToTask());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user