mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
[libraries] Extend PlatformDetection.IsOSX to include all Apple OS (#37707)
* [libraries] Replacee IsNotApple with IsApple * [libraries] Extend PlatformDetection.IsOSX to include all Apple OS * [libraries] Remove test case from DateTimeFormatInfoData * [Libraries] Rename IsApple to IsOSXLike * [libraries] Revert GdiplusTests condition from IsOSXLike to IsOSX Co-authored-by: Mitchell Hwang <[email protected]>
This commit is contained in:
1 parent
c783b1f267
commit
ecfc69fb58
14 files changed
+20
-28
No files matched your search
@@ -241,7 +241,7 @@ namespace System.IO.Tests
|
||||
watcher.Filter = "abc.dll";
|
||||
Assert.Equal("abc.dll", watcher.Filter);
|
||||
|
||||
if (!(PlatformDetection.IsOSX))
|
||||
if (!PlatformDetection.IsOSXLike)
|
||||
{
|
||||
watcher.Filter = "ABC.DLL";
|
||||
Assert.Equal("ABC.DLL", watcher.Filter);
|
||||
|
||||
Reference in new issue
Block a user