Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings March 6, 2025 21:23
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 6, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR adds a new test to verify that AppContext.BaseDirectory returns a rooted path.

  • Added using System.IO to support path operations.
  • Introduced the BaseDirectory_PathRooted test method to assert that AppContext.BaseDirectory is rooted.

Reviewed Changes

File Description
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/AppContext/AppContextTests.cs Added new test for ensuring AppContext.BaseDirectory is a rooted path

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@MichalStrehovsky MichalStrehovsky merged commit 9d9bbcc into main Mar 10, 2025
80 of 84 checks passed
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-1 branch March 10, 2025 13:58
@rhuijben
Copy link
Contributor

Is rooted enough? Shouldn't this check for fully absolute for Windows cases?

@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants