1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-09 13:30: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

@@ -14,6 +14,8 @@ describe('parseMacros', () => {
name: 'test',
declaration: '%macro test;',
termination: '%mend',
declarationTrimmedStatement: '%macro test',
terminationTrimmedStatement: '%mend',
startLineNumber: 1,
endLineNumber: 3,
parentMacro: '',
@@ -38,6 +40,8 @@ describe('parseMacros', () => {
name: 'foo',
declaration: '%macro foo;',
termination: '%mend;',
declarationTrimmedStatement: '%macro foo',
terminationTrimmedStatement: '%mend',
startLineNumber: 1,
endLineNumber: 3,
parentMacro: '',
@@ -49,6 +53,8 @@ describe('parseMacros', () => {
name: 'bar',
declaration: '%macro bar();',
termination: '%mend bar;',
declarationTrimmedStatement: '%macro bar()',
terminationTrimmedStatement: '%mend bar',
startLineNumber: 4,
endLineNumber: 6,
parentMacro: '',
@@ -73,6 +79,8 @@ describe('parseMacros', () => {
name: 'test',
declaration: '%macro test()',
termination: '%mend test',
declarationTrimmedStatement: '%macro test()',
terminationTrimmedStatement: '%mend test',
startLineNumber: 1,
endLineNumber: 6,
parentMacro: '',
@@ -84,6 +92,8 @@ describe('parseMacros', () => {
name: 'test2',
declaration: ' %macro test2',
termination: ' %mend',
declarationTrimmedStatement: '%macro test2',
terminationTrimmedStatement: '%mend',
startLineNumber: 3,
endLineNumber: 5,
parentMacro: 'test',