Permalink
Browse files

tabbing

  • Loading branch information...
1 parent 85e522c commit dd7ba4a241809bd50743e4aac5062645a0139acb @fitzchak fitzchak committed Dec 29, 2011
Showing with 14 additions and 14 deletions.
  1. +14 −14 RaccoonBlog.IntegrationTests/MarkdownResolverTests.cs
@@ -112,39 +112,39 @@ public static IEnumerable
<t RobustEnumerating
<t(
- IEnumerable
+ IEnumerable
<t input, Func
<ienumerable<t, IEnumerable
<t> func)
- {
+ {
- // how to do this?
+ // how to do this?
- IList
+ IList
<t list = new List
<t();
- int counter = 0;
+ int counter = 0;
- foreach (var enumerable in input)
+ foreach (var enumerable in input)
- {
+ {
- if (counter % 2 != 0)
+ if (counter % 2 != 0)
- list.Add(enumerable);
+ list.Add(enumerable);
- counter++;
+ counter++;
- }
+ }
- input = list.AsEnumerable();
+ input = list.AsEnumerable();
- return func(input);
+ return func(input);
- }
+ }
>
";
Assert.DoesNotThrow(() => MarkdownResolve(input));

0 comments on commit dd7ba4a

Please sign in to comment.