1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-09 21:40:06 +00:00

fix(*): add SAS Macros section to Doxygen header

This commit is contained in:
Krishna Acondy
2021-04-19 21:07:24 +01:00
parent 519a0164b5
commit d28d32d441
4 changed files with 8 additions and 4 deletions

View File

@@ -94,6 +94,7 @@ describe('hasDoxygenHeader', () => {
`/**
@file
@brief <Your brief here>
<h4> SAS Macros </h4>
**/` +
'\n' +
content
@@ -105,7 +106,9 @@ describe('hasDoxygenHeader', () => {
const config = new LintConfig({ lineEndings: 'crlf' })
expect(hasDoxygenHeader.fix!(content, config)).toEqual(
`/**\r\n @file\r\n @brief <Your brief here>\r\n**/` + '\r\n' + content
`/**\r\n @file\r\n @brief <Your brief here>\r\n <h4> SAS Macros </h4>\r\n**/` +
'\r\n' +
content
)
})
})