use of org.eclipse.xtend.core.richstring.InitialTemplateIndentationComputer in project xtext-xtend by eclipse.
the class InitialIndentationTest method assertInitialIndentation.
public void assertInitialIndentation(String expectedIndentation, String richString, String initial) throws Exception {
RichString parsedString = richString(richString);
InitialTemplateIndentationComputer computer = new InitialTemplateIndentationComputer(initial);
String actualIndentation = computer.doSwitch(parsedString);
assertEquals(richString, expectedIndentation, actualIndentation);
}
Aggregations