Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Nov 25, 2024
1 parent 5e964ca commit 372197b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/template-linter-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('template-linter', function () {
} as TextDocument;

console.log(semver.parse('~4.3.1')); // should be counted as 4.3.1
expect(linter['sourcesForDocument'](doc, semver.parse('~4.3.1'))).toEqual(['<template>1</template>']);
expect(linter['sourcesForDocument'](doc, semver.parse('~4.3.1'))).toEqual([' 1']);
});
it('process gjs for template-lint v4 with ^', function () {
const doc: TextDocument = {
Expand All @@ -42,7 +42,7 @@ describe('template-linter', function () {
} as TextDocument;

console.log(semver.parse('^4.3.1')); // should be counted as 4.3.1
expect(linter['sourcesForDocument'](doc, semver.parse('^4.3.1'))).toEqual(['<template>1</template>']);
expect(linter['sourcesForDocument'](doc, semver.parse('^4.3.1'))).toEqual([' 1']);
});
it('process gjs for template-lint v4 with strict dependency', function () {
const doc: TextDocument = {
Expand Down

0 comments on commit 372197b

Please sign in to comment.