diff --git a/internal/interpreters/r_test.go b/internal/interpreters/r_test.go index 57f6c8e75..1b539e27c 100644 --- a/internal/interpreters/r_test.go +++ b/internal/interpreters/r_test.go @@ -196,8 +196,10 @@ func (s *RSuite) TestGetRVersionFromExecutable() { s.Equal(tc.expectedVersion, version) lockFile, _, err := rInterpreter.GetLockFilePath() + absLockFile := util.NewAbsolutePath(lockFile.String(), s.fs) s.NoError(err) - s.Equal(tc.expectedLockfilePath, lockFile.String()) + + s.Equal(tc.expectedLockfilePath, absLockFile.String()) } }