Skip to content

Commit

Permalink
Update test/codegen/codegen.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan-Casey <[email protected]>
Signed-off-by: Matt Roberts <[email protected]>
  • Loading branch information
mttrbrts and jonathan-casey authored Oct 19, 2023
1 parent fb7e41d commit 8cff2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/codegen/codegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('codegen', function () {
versionedModelManager.addCTOModel(cto, 'hr.cto');

const unversionedBaseCto = base_cto.replace('namespace [email protected]', 'namespace org.acme.hr.base');
const unversionedCto = cto.replace('namespace [email protected]', 'namespace org.acme.hr');
const unversionedCto = cto.replace('namespace [email protected]', 'namespace org.acme.hr').replace('import [email protected]', 'import org.acme.hr.base');

Check failure on line 47 in test/codegen/codegen.js

View workflow job for this annotation

GitHub Actions / Unit Tests (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 0

Check failure on line 47 in test/codegen/codegen.js

View workflow job for this annotation

GitHub Actions / Unit Tests (18.x, ubuntu-latest)

Expected indentation of 8 spaces but found 0
unversionedModelManager.addCTOModel(unversionedBaseCto, 'hr_base.cto');
unversionedModelManager.addCTOModel(unversionedCto, 'hr.cto');
});
Expand Down

0 comments on commit 8cff2ac

Please sign in to comment.