diff --git a/MoreLinq.Test/FoldTest.cs b/MoreLinq.Test/FoldTest.cs index 90906849c..7824b6873 100644 --- a/MoreLinq.Test/FoldTest.cs +++ b/MoreLinq.Test/FoldTest.cs @@ -27,21 +27,21 @@ public class FoldTest public void FoldWithTooFewItems() { Assert.Throws(() => - Enumerable.Range(1, 3).Fold((a, b, c, d) => a + b + c + d)); + Enumerable.Range(1, 3).Fold(BreakingFunc.Of())); } [Test] public void FoldWithEmptySequence() { Assert.Throws(() => - Enumerable.Empty().Fold(a => a)); + Enumerable.Empty().Fold(BreakingFunc.Of())); } [Test] public void FoldWithTooManyItems() { Assert.Throws(() => - Enumerable.Range(1, 3).Fold((a, b) => a + b)); + Enumerable.Range(1, 3).Fold(BreakingFunc.Of())); } [Test]