Skip to content

Commit

Permalink
small fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
PauliusKu committed Sep 6, 2024
1 parent d1143b7 commit 5f3b9c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ const functionalTestDirs = getDirs(
let functionalTestCases: string[] = [];
functionalTestDirs.forEach((dir) => {
const testsInsideDir = getDirs(
path.join(extensionDevelopmentPath, functionalTestDir + "\\" + dir)
path.join(extensionDevelopmentPath, functionalTestDir + "/" + dir)
);
testsInsideDir.forEach((test) => {
functionalTestCases.push(dir + "\\" + test);
functionalTestCases.push(dir + "/" + test);
});
});

const treeSitterErrorTestDir = "resources\\treeSitterErrorTests";
const treeSitterErrorTestDir = "resources/treeSitterErrorTests";
const treeSitterErrorTestDirs = getDirs(
path.join(extensionDevelopmentPath, treeSitterErrorTestDir)
);
let treeSitterTestCases: string[] = [];
treeSitterErrorTestDirs.forEach((dir) => {
const testsInsideDir = getDirs(
path.join(extensionDevelopmentPath, treeSitterErrorTestDir + "\\" + dir)
path.join(extensionDevelopmentPath, treeSitterErrorTestDir + "/" + dir)
);
testsInsideDir.forEach((test) => {
treeSitterTestCases.push(dir + "\\" + test);
treeSitterTestCases.push(dir + "/" + test);
});
});

Expand Down

0 comments on commit 5f3b9c4

Please sign in to comment.