public async Task CompactRemovesNilValues() { var input = new ArrayValue(new FluidValue[] { new StringValue("a"), NumberValue.Zero, NilValue.Instance, new StringValue("b") }); var arguments = new FilterArguments(); var context = new TemplateContext(); var result = await MiscFilters.Compact(input, arguments, context); Assert.Equal(3, result.Enumerate().Count()); }