Skip to content

Commit 304ee17

Browse files
authored
#52851 skip CurrentDirectorySet on MacCatalyst (#74228)
1 parent 7fb6b5c commit 304ee17

File tree

1 file changed

+2
-3
lines changed
  • src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft/VisualBasic/FileIO

1 file changed

+2
-3
lines changed

src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft/VisualBasic/FileIO/FileSystemTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,11 @@ public void CurrentDirectoryGet()
293293
Assert.Equal(FileIO.FileSystem.CurrentDirectory, CurrentDirectory);
294294
}
295295

296-
// On OSX, the temp directory /tmp/ is a symlink to /private/tmp, so setting the current
296+
// On OSX/MacCatalyst, the temp directory /tmp/ is a symlink to /private/tmp, so setting the current
297297
// directory to a symlinked path will result in GetCurrentDirectory returning the absolute
298298
// path that followed the symlink.
299-
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotOSX))]
299+
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotOSX), nameof(PlatformDetection.IsNotMacCatalyst))]
300300
[ActiveIssue("https://github.com/dotnet/runtime/issues/50572", TestPlatforms.Android)]
301-
[ActiveIssue("https://github.com/dotnet/runtime/issues/52851", TestPlatforms.MacCatalyst)]
302301
public void CurrentDirectorySet()
303302
{
304303
var SavedCurrentDirectory = System.IO.Directory.GetCurrentDirectory();

0 commit comments

Comments
 (0)