Added is any cancellation token argument

This commit is contained in:
Amy Palamountain
2014-02-03 14:46:24 +13:00
parent 77d3785b7c
commit 2e1fcd73bc
+6
View File
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Threading;
using NSubstitute;
using Octokit.Internal;
@@ -51,5 +52,10 @@ namespace Octokit.Tests
{
get { return Arg.Is<Dictionary<string, string>>(d => d.Count == 0); }
}
public static CancellationToken CancellationToken
{
get { return Arg.Any<CancellationToken>(); }
}
}
}