void () { myFixture.configureByText("test.html", "div#id>div.class<caret>"); myFixture.type("|c"); assertPreview(""" <div id="id"> <div class="class"></div> <!-- /.class --> </div> <!-- /#id -->"""); myFixture.type("|s"); assertPreview(""" <div id="id"> <div class="class"></div> <!-- /.class --> </div> <!-- /#id -->"""); }