mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
Fixed failing tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
@@ -16,7 +17,9 @@ namespace Octokit
|
||||
|
||||
public CodeFrequency(IEnumerable<AdditionsAndDeletions> additionsAndDeletionsByWeek)
|
||||
{
|
||||
AdditionsAndDeletionsByWeek = additionsAndDeletionsByWeek;
|
||||
Ensure.ArgumentNotNull(additionsAndDeletionsByWeek, "additionsAndDeletionsByWeek");
|
||||
|
||||
AdditionsAndDeletionsByWeek = new ReadOnlyCollection<AdditionsAndDeletions>(additionsAndDeletionsByWeek.ToList());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -32,7 +35,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// A weekly aggregate of the number of additions and deletions pushed to a repository.
|
||||
/// </summary>
|
||||
public IEnumerable<AdditionsAndDeletions> AdditionsAndDeletionsByWeek { get; private set; }
|
||||
public IReadOnlyList<AdditionsAndDeletions> AdditionsAndDeletionsByWeek { get; private set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user