Make fetch parameter in git-resource deprecated
See discussion here: - https://github.com/concourse/git-resource/issues/118 - https://www.pivotaltracker.com/story/show/150640930
This commit is contained in:
@@ -1162,11 +1162,11 @@ public class ConcourseEditorTest {
|
||||
,
|
||||
"disable_git_lfs: <*>"
|
||||
,
|
||||
"fetch:\n" +
|
||||
" - <*>"
|
||||
,
|
||||
"submodules:\n"+
|
||||
" <*>"
|
||||
,
|
||||
"fetch:\n" + // Deprecated, so not suggested
|
||||
" - <*>"
|
||||
);
|
||||
assertContextualCompletions(context,
|
||||
"disable_git_lfs: <*>"
|
||||
@@ -3911,7 +3911,8 @@ public class ConcourseEditorTest {
|
||||
" fetch: [master]\n" +
|
||||
" submodules: none\n"
|
||||
);
|
||||
editor.assertProblems(/*NONE*/);
|
||||
Diagnostic p = editor.assertProblems("fetch|Deprecated").get(0);
|
||||
assertEquals(DiagnosticSeverity.Warning, p.getSeverity());
|
||||
}
|
||||
|
||||
@Test public void bug_150337510() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user