Fix failing test cases (harness sorting order of reconcile results has changed)

This commit is contained in:
Kris De Volder
2017-07-11 10:47:25 -07:00
parent 011cb5bcb0
commit 10519b4694

View File

@@ -682,9 +682,9 @@ public class ConcourseEditorTest {
);
{
List<Diagnostic> problems = editor.assertProblems(
"config|[platform, run] are required",
"config|Only one of [config, file]",
"config|One of [image_resource, rootfs_uri, image]",
"config|Only one of [config, file]",
"config|[platform, run] are required",
"file|Only one of [config, file]"
);
//All of the problems in this example are property contraint violations! So all should be warnings.
@@ -1715,8 +1715,8 @@ public class ConcourseEditorTest {
);
editor.assertProblems(
"s3-snapshots|Unused 'Resource'",
"source|'bucket' is required",
"source|One of [regexp, versioned_file] is required"
"source|One of [regexp, versioned_file] is required",
"source|'bucket' is required"
);
editor = harness.newEditor(