mirror of
https://github.com/sasjs/lint.git
synced 2026-01-17 17:20:05 +00:00
fix(strictMacroDefinition): updated logic for getting options
This commit is contained in:
@@ -37,6 +37,10 @@ describe('strictMacroDefinition', () => {
|
||||
|
||||
const content11 = '`%macro macroName() /* / store source */;'
|
||||
expect(strictMacroDefinition.test(content11)).toEqual([])
|
||||
|
||||
const content12 =
|
||||
'%macro macroName()/ /* some comment */ store des="some description";'
|
||||
expect(strictMacroDefinition.test(content12)).toEqual([])
|
||||
})
|
||||
|
||||
it('should return an array with a single diagnostic when Macro definition has space in param', () => {
|
||||
|
||||
Reference in New Issue
Block a user