mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-28 08:58:37 +00:00
fix expected exception
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Octokit.Tests.Clients
|
||||
var client = new RepositoriesClient(Substitute.For<IApiConnection>());
|
||||
|
||||
await Assert.ThrowsAsync<ArgumentNullException>(() => client.Create(null, new NewRepository("aName")));
|
||||
await Assert.ThrowsAsync<ArgumentException>(() => client.Create("aLogin", null));
|
||||
await Assert.ThrowsAsync<ArgumentNullException>(() => client.Create("aLogin", null));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user