From 196c027baf096476e51c73ed0121a5615a0697f1 Mon Sep 17 00:00:00 2001 From: Chris Mead Date: Mon, 9 Dec 2024 09:39:39 -0700 Subject: [PATCH] Only check path and not reasons with relevant integration tests --- extensions/positron-r/src/test/discovery.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/positron-r/src/test/discovery.test.ts b/extensions/positron-r/src/test/discovery.test.ts index 9d8e33b249e..0abdd24b042 100644 --- a/extensions/positron-r/src/test/discovery.test.ts +++ b/extensions/positron-r/src/test/discovery.test.ts @@ -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); }); }); @@ -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); }); }); });