You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
project.AbsolutePath.ShouldContain('/',$"AbsolutePath '{project.AbsolutePath}' should contain forward slashes on Unix systems");
2525
+
project.AbsolutePath.ShouldContain("/");
2526
2526
}
2527
2527
}
2528
2528
@@ -2557,7 +2557,7 @@ public void AbsolutePathShouldHandleUriLikeRelativePathsOnUnix()
2557
2557
// Even if the RelativePath looks like a URI, AbsolutePath should not contain backslashes on Unix
2558
2558
if(project.AbsolutePath.Contains('\\'))
2559
2559
{
2560
-
project.AbsolutePath.ShouldNotContain('\\',$"AbsolutePath '{project.AbsolutePath}' should not contain backslashes on Unix systems, even for URI-like paths");
2560
+
project.AbsolutePath.ShouldNotContain("\\");
2561
2561
}
2562
2562
}
2563
2563
@@ -2592,11 +2592,10 @@ public void AbsolutePathFixFilePathIntegrationTest()
2592
2592
2593
2593
// This test verifies that regardless of what happens in intermediate processing,
2594
2594
// the final AbsolutePath result never contains backslashes on Unix
2595
-
project.AbsolutePath.ShouldNotContain('\\',
2596
-
$"AbsolutePath '{project.AbsolutePath}' should not contain backslashes on Unix systems");
2595
+
project.AbsolutePath.ShouldNotContain("\\");
2597
2596
2598
2597
// Verify that the path contains forward slashes as expected
2599
-
project.AbsolutePath.ShouldContain('/');
2598
+
project.AbsolutePath.ShouldContain("/");
2600
2599
2601
2600
// Verify that the path structure is still correct (should contain the subdirectory)
0 commit comments