Skip to content

Commit 6e06381

Browse files
committed
Move expected files into subdirectory
1 parent f55389c commit 6e06381

10 files changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/github-codeql.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/expected/github-codeql.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/meteor-meteor.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/expected/meteor-meteor.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/summary.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/path-problem/expected/summary.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/github-codeql.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/expected/github-codeql.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/meteor-meteor.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/expected/meteor-meteor.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/summary.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/interpreted-results/problem/expected/summary.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/github-codeql.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/expected/github-codeql.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/meteor-meteor.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/expected/meteor-meteor.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/summary.md renamed to extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/data/raw-results/expected/summary.md

File renamed without changes.

extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/markdown-generation.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('markdown generation', async function() {
2222

2323
for (let i = 0; i < markdownFiles.length; i++) {
2424
const markdownFile = markdownFiles[i];
25-
const expectedContent = await readTestOutputFile(`data/interpreted-results/path-problem/${expectedFileNames[i]}.md`);
25+
const expectedContent = await readTestOutputFile(`data/interpreted-results/path-problem/expected/${expectedFileNames[i]}.md`);
2626

2727
// Check that the markdown file has the expected name
2828
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);
@@ -48,7 +48,7 @@ describe('markdown generation', async function() {
4848

4949
for (let i = 0; i < markdownFiles.length; i++) {
5050
const markdownFile = markdownFiles[i];
51-
const expectedContent = await readTestOutputFile(`data/interpreted-results/problem/${expectedFileNames[i]}.md`);
51+
const expectedContent = await readTestOutputFile(`data/interpreted-results/problem/expected/${expectedFileNames[i]}.md`);
5252

5353
// Check that the markdown file has the expected name
5454
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);
@@ -74,7 +74,7 @@ describe('markdown generation', async function() {
7474

7575
for (let i = 0; i < markdownFiles.length; i++) {
7676
const markdownFile = markdownFiles[i];
77-
const expectedContent = await readTestOutputFile(`data/raw-results/${expectedFileNames[i]}.md`);
77+
const expectedContent = await readTestOutputFile(`data/raw-results/expected/${expectedFileNames[i]}.md`);
7878

7979
// Check that the markdown file has the expected name
8080
expect(markdownFile.fileName).to.equal(expectedFileNames[i]);

0 commit comments

Comments
 (0)