From e4c16348f2c8254714954d81992b767b9b7f75ff Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Thu, 6 Apr 2017 11:43:54 -0700 Subject: [PATCH] Fix failing test --- .../vscode/concourse/ConcourseEditorTest.java | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java b/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java index e4ef2027e..52f142f5e 100644 --- a/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java +++ b/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java @@ -743,6 +743,20 @@ public class ConcourseEditorTest { } @Test public void timeResourceCompletions() throws Exception { + assertContextualCompletions( + "resources:\n" + + "- name: every5minutes\n" + + " type: time\n" + + " source:\n" + + " location: <*>" + , // ====================== + "Van<*>" + , // => + "America/Vancouver<*>", + "Asia/Vientiane<*>", + "Europe/Vatican<*>" + ); + assertContextualCompletions( "resources:\n" + "- name: every5minutes\n" + @@ -779,16 +793,6 @@ public class ConcourseEditorTest { "Wednesday<*>" ); - assertContextualCompletions( - "resources:\n" + - "- name: every5minutes\n" + - " type: time\n" + - " location: <*>" - , // ====================== - "Van<*>" - , // => - "America/Vancouver" - ); } @Test public void timeResourceSourceReconcile() throws Exception {