public void It_Should_Remove_An_Element_From_An_Array()
        {
            var liquidCollection = new LiquidCollection {
                LiquidString.Create("test")
            };

            liquidCollection.Remove(LiquidString.Create("test"));
            Assert.That(liquidCollection.Count, Is.EqualTo(0));
        }
Exemple #2
0
        public void It_Should_Remove_An_Element_From_An_Array()
        {
            var liquidCollection = new LiquidCollection {
                LiquidString.Create("test")
            };

            liquidCollection.Remove(LiquidString.Create("test"));
            Assert.Empty(liquidCollection);
        }