Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpaliotta committed Oct 4, 2023
2 parents f25daa1 + cb22129 commit c1a852d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function testInterfaceCommand(
enviroName = enviroPath.substring(enviroPath.lastIndexOf("/") + 1, enviroPath.length);
}
// The -test arguments should be the enviro name along with everything after the |
testArgument = ` --test="${enviroName}|${testID.split ('|')[1]}`;
testArgument = ` --test="${enviroName}|${testID.split ('|')[1]}"`;
}
return command + testArgument;

Expand Down
10 changes: 5 additions & 5 deletions tests/internal/e2e/test/specs/vcast.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ describe("vTypeCheck VS Code Extension", () => {
).toBe(true);
expect(
outputViewText.includes(
"test explorer [info] Test summary for: cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.myFirstTest",
"test explorer [info] Test summary for: vcast:cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.myFirstTest",
),
).toBe(true);
expect(
Expand Down Expand Up @@ -548,8 +548,8 @@ describe("vTypeCheck VS Code Extension", () => {

editorView = workbench.getEditorView();
const tab = (await editorView.openEditor("manager.cpp")) as TextEditor;
const RED_GUTTER = "/no-gutter-icon";
const GREEN_GUTTER = "/gutter-icon";
const RED_GUTTER = "/no-cover-icon";
const GREEN_GUTTER = "/cover-icon";
// moving cursor to make sure coverage indicators are in view
await tab.moveCursor(10, 3);
console.log(
Expand Down Expand Up @@ -786,7 +786,7 @@ describe("vTypeCheck VS Code Extension", () => {
).toBe(true);
expect(
outputViewText.includes(
"test explorer [info] Test summary for: cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.mySecondTest",
"test explorer [info] Test summary for: vcast:cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.mySecondTest",
),
).toBe(true);
expect(
Expand Down Expand Up @@ -1016,7 +1016,7 @@ describe("vTypeCheck VS Code Extension", () => {
).toBe(true);
expect(
outputViewText.includes(
"test explorer [info] Test summary for: cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.myThirdTest",
"test explorer [info] Test summary for: vcast:cpp/unitTests/DATABASE-MANAGER|manager.Manager::PlaceOrder.myThirdTest",
),
).toBe(true);
expect(
Expand Down

0 comments on commit c1a852d

Please sign in to comment.