public void testNewLine3() {
strategy.setIndentPrefs(new TestIndentPrefs(true, 4));
String str = "for a in b: " +
"";
final Document doc = new Document(str);
DocCmd docCmd = new DocCmd(doc.getLength() - 4, 0, "\n");
strategy.customizeDocumentCommand(doc, docCmd);
assertEquals("\n ", docCmd.text);
String expected = "for a in b: ";
assertEquals(expected, doc.get());