diff --git a/headless-services/commons/commons-util/src/main/java/org/springframework/ide/vscode/commons/util/ValueParsers.java b/headless-services/commons/commons-util/src/main/java/org/springframework/ide/vscode/commons/util/ValueParsers.java index bf81fcd10..ce5f6d68b 100644 --- a/headless-services/commons/commons-util/src/main/java/org/springframework/ide/vscode/commons/util/ValueParsers.java +++ b/headless-services/commons/commons-util/src/main/java/org/springframework/ide/vscode/commons/util/ValueParsers.java @@ -39,11 +39,7 @@ public class ValueParsers { str = str.replace("_", ""); //Tolerate and ignore underscores in integers. int value = Integer.parseInt(str); if (lowerBound!=null && valueupperBound) { throw new NumberFormatException("Value must be at most "+upperBound); diff --git a/headless-services/concourse-language-server/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java b/headless-services/concourse-language-server/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java index f86afebcb..50d8cf43e 100644 --- a/headless-services/concourse-language-server/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java +++ b/headless-services/concourse-language-server/src/test/java/org/springframework/ide/vscode/concourse/ConcourseEditorTest.java @@ -513,7 +513,7 @@ public class ConcourseEditorTest { ); editor.assertProblems( "boohoo|boolean", - "-1|must be positive", + "-1|must be at least 0", "git|resource does not exist", "yohoho|boolean", "0|must be at least 1", @@ -1338,7 +1338,7 @@ public class ConcourseEditorTest { " clean_tags: not-bool-d\n" ); editor.assertProblems( - "-1|must be positive", + "-1|must be at least 0", "not-bool-a|'boolean'", "not-bool-b|'boolean'", "not-bool-c|'boolean'",