assertEquals(" ", docCmd.text); // a single tab should go to the correct indent
assertEquals(expected, doc.get()); // the spaces after the indent should be removed
}
public void testTabs() {
strategy.setIndentPrefs(new TestIndentPrefs(false, 4));
DocCmd docCmd = new DocCmd(0, 0, "\t");
strategy.customizeDocumentCommand(new Document(""), docCmd);
assertEquals("\t", docCmd.text);
docCmd = new DocCmd(0, 0, "\t\t");