add convention test to ensure all response models have a public parameterless ctor

2 model classes were missing one - technically not needed for these 2 classes due to their api calls being basic data types that then get populated into these objects, but it's easiest to just add them to these 2 classes so the test can pass on all response models
This commit is contained in:
Ryan Gribble
2016-07-05 23:29:42 +10:00
parent e701ae763c
commit e3fa865381
5 changed files with 30 additions and 0 deletions
@@ -7,6 +7,9 @@ namespace Octokit
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class RepositoryLanguage
{
public RepositoryLanguage()
{ }
public RepositoryLanguage(string name, long numberOfBytes)
{
Name = name;