Skip to content

Remove OS platform check from test setup - #68707

Open
waqarkabir wants to merge 1 commit into
dotnet:mainfrom
waqarkabir:master
Open

Remove OS platform check from test setup#68707
waqarkabir wants to merge 1 commit into
dotnet:mainfrom
waqarkabir:master

Conversation

@waqarkabir

Copy link
Copy Markdown

Summary of the changes:
Removed unused OS platform expected result assignment.

Description:
Removed the unused expectedResult assignment for the OS platform check in GetFileInfo_DoesNotMatch_IncompletePrefixSegments. The variable was not used by the test, so this change removes unnecessary code.

Removed the expected result assignment for OS platform check.
@waqarkabir
waqarkabir requested a review from halter73 as a code owner August 22, 2026 01:46
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Aug 22, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Thanks for your PR, @waqarkabir. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Path.GetDirectoryName(typeof(StaticWebAssetsFileProviderTests).Assembly.Location));

// Act
var file = provider.GetFileInfo("/_CONTENT/Microsoft.AspNetCore.Hosting.StaticWebAssets.xml");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hosting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants