Skip to content

Commit

Permalink
Only check path and not reasons with relevant integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
testlabauto committed Dec 9, 2024
1 parent c8ed35e commit 196c027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/positron-r/src/test/discovery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ suite('Discovery', () => {

test('Find R on Windows path', async () => {
const result = await currentRBinaryFromPATHWindows(r432);
assert.strictEqual(result, r432);
assert.strictEqual(result?.path, r432);
});
});

Expand Down Expand Up @@ -103,7 +103,7 @@ suite('Discovery', () => {

test('Find R on Windows path', async () => {
const result = await currentRBinaryFromPATHWindows(smartshim);
assert.strictEqual(result, x64);
assert.strictEqual(result?.path, x64);
});
});
});

0 comments on commit 196c027

Please sign in to comment.