public void chompToIgnoreCase() { string t = "<textarea>one < two </TEXTarea>"; TokenQueue tq = new TokenQueue(t); string data = tq.ChompToIgnoreCase("</textarea"); Assert.AreEqual("<textarea>one < two ", data); tq = new TokenQueue("<textarea> one two < three </oops>"); data = tq.ChompToIgnoreCase("</textarea"); Assert.AreEqual("<textarea> one two < three </oops>", data); }