public void testTabInComment() {
strategy.setIndentPrefs(new TestIndentPrefs(true, 4));
String str = "#comment" +
"";
final Document doc = new Document(str);
DocCmd docCmd = new DocCmd(doc.getLength(), 0, "\t");
strategy.customizeDocumentCommand(doc, docCmd);
assertEquals(" ", docCmd.text); // a single tab should go to the correct indent
}