Browse Source

test-fix: properly match the output order due to sorting changes

Sam Jaffe 1 month ago
parent
commit
666cd18351
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/annotation_test.cxx

+ 2 - 2
tests/annotation_test.cxx

@@ -318,7 +318,7 @@ TEST(ValidationResultJsonTest, OutputsFormattedJSON) {
     {
       "valid": false,
       "evaluationPath": "/items",
-      "instanceLocation": "/0",
+      "instanceLocation": "/1",
       "errors": {
         "": "always false"
       }
@@ -326,7 +326,7 @@ TEST(ValidationResultJsonTest, OutputsFormattedJSON) {
     {
       "valid": false,
       "evaluationPath": "/items",
-      "instanceLocation": "/1",
+      "instanceLocation": "/0",
       "errors": {
         "": "always false"
       }