Skip to content

Commit

Permalink
Fix review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
chiranSachintha committed Apr 17, 2024
1 parent 69dcd83 commit fb36655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public void testComplexCyclicRecordTypeResolution() {
public void testIntersectionOfReadonlyAndRecordTypeWithDefaults() {
CompileResult result = BCompileUtil.compile("test-src/bala/test_projects/test_project_records_negative");
int count = 0;
BAssertUtil.validateError(result, count, "missing non-defaultable required record field 'initialValues'",
BAssertUtil.validateError(result, count++, "missing non-defaultable required record field 'initialValues'",
22, 25);
Assert.assertEquals(result.getErrorCount(), count);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2024 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.com).
//
// WSO2 Inc. licenses this file to you under the Apache License,
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
// in compliance with the License.
// You may obtain a copy of the License at
Expand Down

0 comments on commit fb36655

Please sign in to comment.