Skip to content

Commit

Permalink
Fix validator test case
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Jul 15, 2024
1 parent 4c1ca5f commit 0d8c6a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void recordType() {
DiagnosticResult diagnostic = getCompilation(project);
Object[] errors = getDiagnostics(diagnostic);
Assert.assertEquals(errors.length, 1);
String typeMismatch = "ERROR [record.bal:(13:5,17:6)] could not find OpenAPI object schema field 'type' in" +
String typeMismatch = "ERROR [record.bal:(4:10,7:2)] could not find OpenAPI object schema field 'type' in" +
" 'Pet' the Ballerina record.";
Assert.assertEquals(typeMismatch, errors[0].toString());
}
Expand Down

0 comments on commit 0d8c6a0

Please sign in to comment.