mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
New convention test was added. Now each "TheCtor" class must have "EnsuresNonNullArguments" method were throwing of ArgumentNullException from client constructor class should be tested.
All unused "using" directives were removed.
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Octokit.Tests.Reactive
|
||||
public class TheCtor
|
||||
{
|
||||
[Fact]
|
||||
public void ThrowsForBadArgs()
|
||||
public void EnsuresNonNullArguments()
|
||||
{
|
||||
Assert.Throws<ArgumentNullException>(() => new ObservableRepositoryDeployKeysClient(null));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user