Skip to content

Commit b84a681

Browse files
committed
update test
1 parent 1526161 commit b84a681

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class Provider implements CompletionItemProvider, DefinitionProvider {
8686
private async getStyles(document: TextDocument) {
8787
const styles = new Map<string, Style[]>();
8888
const folder = workspace.getWorkspaceFolder(document.uri);
89-
const globs = getStyleSheets(document.uri);
89+
const globs = getStyleSheets(document);
9090

9191
for (const glob of globs) {
9292
if (this.isRemote.test(glob)) {

test/suite/settings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("settings", () => {
3131
language: "html",
3232
content: "",
3333
});
34-
const styleSheets = settings.getStyleSheets(document.uri);
34+
const styleSheets = settings.getStyleSheets(document);
3535
assert.strictEqual(styleSheets.length, 1);
3636
assert.strictEqual(styleSheets[0], "some");
3737
});

0 commit comments

Comments
 (0)