diff --git a/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-nested.js b/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-nested.js index 8fd096465..6292296aa 100644 --- a/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-nested.js +++ b/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-nested.js @@ -3,7 +3,7 @@ sap.ui.define([], function() { renderButton() { sap.ui.require(["sap/m/Button"], (Button) => { new Button({ - tap: () => console.log("Tapped") // TODO detect: Event "tap" is deprecated + tap: () => console.log("Tapped") // Event "tap" is deprecated }).placeAt("button"); }); } diff --git a/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-toplevel.js b/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-toplevel.js index a01e2c9c3..68fdc4e5a 100644 --- a/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-toplevel.js +++ b/test/fixtures/linter/rules/NoDeprecatedApi/sap.ui.require-toplevel.js @@ -1,5 +1,5 @@ sap.ui.require(["sap/m/Button"], (Button) => { new Button({ - tap: () => console.log("Tapped") // TODO detect: Event "tap" is deprecated + tap: () => console.log("Tapped") // Event "tap" is deprecated }).placeAt("button"); });