Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Jan 28, 2024
1 parent 1526161 commit b84a681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class Provider implements CompletionItemProvider, DefinitionProvider {
private async getStyles(document: TextDocument) {
const styles = new Map<string, Style[]>();
const folder = workspace.getWorkspaceFolder(document.uri);
const globs = getStyleSheets(document.uri);
const globs = getStyleSheets(document);

for (const glob of globs) {
if (this.isRemote.test(glob)) {
Expand Down
2 changes: 1 addition & 1 deletion test/suite/settings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("settings", () => {
language: "html",
content: "",
});
const styleSheets = settings.getStyleSheets(document.uri);
const styleSheets = settings.getStyleSheets(document);
assert.strictEqual(styleSheets.length, 1);
assert.strictEqual(styleSheets[0], "some");
});
Expand Down

0 comments on commit b84a681

Please sign in to comment.