mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
Added missing tests
This commit is contained in:
@@ -2,7 +2,16 @@
|
||||
{
|
||||
public class NewReference
|
||||
{
|
||||
public string Ref { get; set; }
|
||||
public string Sha { get; set; }
|
||||
public NewReference(string @ref, string sha)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(@ref, "ref");
|
||||
Ensure.ArgumentNotNullOrEmptyString(sha, "sha");
|
||||
|
||||
Ref = @ref;
|
||||
Sha = sha;
|
||||
}
|
||||
|
||||
public string Ref { get; private set; }
|
||||
public string Sha { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user