Fix PT-136196057: correct indentation after 'do' step completion

This commit is contained in:
Kris De Volder
2017-01-13 10:53:35 -08:00
parent d4c3d84714
commit 15eec8b080
5 changed files with 97 additions and 7 deletions

View File

@@ -158,6 +158,22 @@ public class PipelineYamlEditorTest {
" <*>"
);
}
@Test
public void PT_136196057_do_step_completion_indentation() throws Exception {
assertCompletions(
"jobs:\n" +
"- name:\n"+
" plan:\n" +
" - do<*>"
, // =>
"jobs:\n" +
"- name:\n"+
" plan:\n" +
" - do:\n" +
" - <*>"
);
}
@Test
public void primaryStepHovers() throws Exception {