diff --git a/test/lib/linter/UI5YamlLinter.ts b/test/lib/linter/UI5YamlLinter.ts index c7e6c82b2..15455012f 100644 --- a/test/lib/linter/UI5YamlLinter.ts +++ b/test/lib/linter/UI5YamlLinter.ts @@ -29,25 +29,19 @@ framework: // Test returned messages t.is(messages.length, 3, "Detection of 3 deprecated libraries expected"); - // Test each message - t.is(messages[0].ruleId, "ui5-linter-no-deprecated-api", - `RuleId is correct`); - t.is(messages[0].message, `Use of deprecated library 'sap.ca.scfld.md'`, - `Message is correct`); - t.is(messages[0].column, 7, `Column is correct`); - t.is(messages[0].line, 9, `Line is correct`); + // Test each message + t.is(messages[0].ruleId, "ui5-linter-no-deprecated-api", `RuleId is correct`); + t.is(messages[0].message, `Use of deprecated library 'sap.ca.scfld.md'`, `Message is correct`); + t.is(messages[0].column, 7, `Column is correct`); + t.is(messages[0].line, 9, `Line is correct`); - t.is(messages[1].ruleId, "ui5-linter-no-deprecated-api", - `RuleId is correct`); - t.is(messages[1].message, `Use of deprecated library 'sap.ca.ui'`, - `Message is correct`); - t.is(messages[1].column, 7, `Column is correct`); - t.is(messages[1].line, 10, `Line is correct`); + t.is(messages[1].ruleId, "ui5-linter-no-deprecated-api", `RuleId is correct`); + t.is(messages[1].message, `Use of deprecated library 'sap.ca.ui'`, `Message is correct`); + t.is(messages[1].column, 7, `Column is correct`); + t.is(messages[1].line, 10, `Line is correct`); - t.is(messages[2].ruleId, "ui5-linter-no-deprecated-api", - `RuleId is correct`); - t.is(messages[2].message, `Use of deprecated library 'sap.fe.common'`, - `Message is correct`); - t.is(messages[2].column, 7, `Column is correct`); - t.is(messages[2].line, 11, `Line is correct`); + t.is(messages[2].ruleId, "ui5-linter-no-deprecated-api", `RuleId is correct`); + t.is(messages[2].message, `Use of deprecated library 'sap.fe.common'`, `Message is correct`); + t.is(messages[2].column, 7, `Column is correct`); + t.is(messages[2].line, 11, `Line is correct`); });