Skip to content

Commit

Permalink
fix: Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Mar 22, 2024
1 parent 04d5304 commit 75661bd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
4 changes: 0 additions & 4 deletions test/fixtures/linter/rules/NoDeprecatedApi/old_library.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/*!
* ${copyright}
*/

/**
* Initialization Code and shared classes of library library.with.custom.paths.
*/
sap.ui.define([
"sap/ui/core/Lib",
], function (Library) {
Expand Down
14 changes: 7 additions & 7 deletions test/lib/linter/rules/snapshots/NoDeprecatedApi.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1032,55 +1032,55 @@ Generated by [AVA](https://avajs.dev).
{
column: 2,
fatal: undefined,
line: 13,
line: 9,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 2,
fatal: undefined,
line: 14,
line: 10,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 2,
fatal: undefined,
line: 15,
line: 11,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 2,
fatal: undefined,
line: 16,
line: 12,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 15,
fatal: undefined,
line: 20,
line: 16,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 15,
fatal: undefined,
line: 23,
line: 19,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
},
{
column: 15,
fatal: undefined,
line: 26,
line: 22,
message: 'Call to Library.init() must be declared with property {apiVersion: 2}',
ruleId: 'ui5-linter-no-partially-deprecated-api',
severity: 2,
Expand Down
4 changes: 2 additions & 2 deletions test/lib/linter/snapshots/linter.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ Generated by [AVA](https://avajs.dev).
{
column: 2,
fatal: undefined,
line: 14,
line: 15,
message: 'Call to deprecated function \'initLibrary\' of class \'Core\'',
messageDetails: 'Deprecated test message',
ruleId: 'ui5-linter-no-deprecated-api',
Expand All @@ -916,7 +916,7 @@ Generated by [AVA](https://avajs.dev).
{
column: 2,
fatal: undefined,
line: 14,
line: 15,
message: 'Call to deprecated function \'getCore\' (sap.ui.getCore)',
messageDetails: 'Deprecated test message',
ruleId: 'ui5-linter-no-deprecated-api',
Expand Down
Binary file modified test/lib/linter/snapshots/linter.ts.snap
Binary file not shown.

0 comments on commit 75661bd

Please sign in to comment.