fix expected exception

This commit is contained in:
Mordechai Zuber
2015-05-18 03:44:39 +03:00
parent 1d6c1aee25
commit c8a7cd8c17
@@ -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]