Document & test multiple values for 2.2.0. Closes #46

This commit is contained in:
Biarity
2018-11-30 09:08:39 +10:00
parent 2d5fc0d232
commit c818267526
5 changed files with 37 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ namespace SieveTests.Services
{
public class SieveCustomFilterMethods : ISieveCustomFilterMethods
{
public IQueryable<Post> IsNew(IQueryable<Post> source, string op, string value)
public IQueryable<Post> IsNew(IQueryable<Post> source, string op, string[] values)
=> source.Where(p => p.LikeCount < 100 && p.CommentCount < 5);
}
}