1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-10 05:50:05 +00:00

test(*): removed extra lineEndings

This commit is contained in:
Saad Jutt
2021-04-21 16:51:13 +05:00
parent cd90b0850a
commit 060b838f21
5 changed files with 17 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ describe('formatText', () => {
@brief <Your brief here>
<h4> SAS Macros </h4>
**/\n%macro test
%put 'hello';\n%mend test;\n`
%put 'hello';\n%mend test;`
const output = await formatText(text)
@@ -40,7 +40,7 @@ describe('formatText', () => {
)
const text = `%macro test\n %put 'hello';\r\n%mend; `
const expectedOutput = `/**\r\n @file\r\n @brief <Your brief here>\r\n <h4> SAS Macros </h4>\r\n**/\r\n%macro test\r\n %put 'hello';\r\n%mend test;\r\n`
const expectedOutput = `/**\r\n @file\r\n @brief <Your brief here>\r\n <h4> SAS Macros </h4>\r\n**/\r\n%macro test\r\n %put 'hello';\r\n%mend test;`
const output = await formatText(text)