public void RemoveExtensionWorks() { var pb = new VirtualPathBuilder(); pb.RemoveExtension(); pb.CombineWith("oops.cs"); Assert.IsTrue(pb.GetExtension() == "cs"); pb.RemoveExtension(); Assert.IsNull(pb.GetExtension()); }
public void RemoveExtensionWorks() { var pb = new VirtualPathBuilder(); pb.RemoveExtension(); pb.CombineWith("oops.cs"); Assert.IsTrue(pb.GetExtension() == "cs"); pb.RemoveExtension(); Assert.IsNull(pb.GetExtension()); }