You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See #464
Problems found:
- issues with formatting of the test case examples. Spaces vs tabs
issues and weird indentation of the examples causing problems
for editor to parse examples.
- added 'set_pipeline' step caused some other tests fail
because they should correctly expect this as a valid
completion, but tests had not been updated to reflect
that.
Copy file name to clipboardExpand all lines: headless-services/concourse-language-server/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,8 @@ public void primaryStepCompletions() throws Exception {
315
315
, // ==============
316
316
"put: <*>"
317
317
, // ==============
318
+
"set_pipeline: <*>"
319
+
, // ==============
318
320
"task: <*>"
319
321
, // ==============
320
322
"try:\n" +
@@ -357,7 +359,7 @@ public void primaryStepHovers() throws Exception {
357
359
" - try:\n" +
358
360
" put: test-logs\n" +
359
361
" - set_pipeline: configure-the-pipeline\n" +
360
-
" file: my-repo/ci/pipeline.yml\n"
362
+
" file: my-repo/ci/pipeline.yml\n"
361
363
);
362
364
363
365
editor.assertHoverContains("get", "Fetches a resource");
@@ -399,11 +401,11 @@ public void setPipelineStepHovers() throws Exception {
399
401
" plan:\n" +
400
402
" - get: my-repo\n" +
401
403
" - set_pipeline: configure-the-pipeline\n" +
402
-
" file: my-repo/ci/pipeline.yml\n" +
404
+
" file: my-repo/ci/pipeline.yml\n" +
403
405
" var_files:\n" +
404
-
" - my-repo/ci/dev.yml\n" +
405
-
" vars:\n" +
406
-
" text: \"Hello World!\"\n"
406
+
" - my-repo/ci/dev.yml\n" +
407
+
" vars:\n" +
408
+
" text: \"Hello World!\"\n"
407
409
);
408
410
409
411
editor.assertHoverContains("file", "The path to the pipeline's configuration file.");
@@ -4197,6 +4199,7 @@ public void taskWithYamlParams() throws Exception {
0 commit comments