diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs index 6c138cb90132..5e892814dfc7 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_System/Given_Launcher.cs @@ -1,6 +1,5 @@ -#if __ANDROID__ || __IOS__ || __SKIA__ +#if __ANDROID__ || __IOS__ using System; -using System.Runtime.InteropServices; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Windows.ApplicationModel.Core; @@ -60,14 +59,7 @@ public async Task When_Settings_Uri_Is_Queried() new Uri("ms-settings:network-wifi"), LaunchQuerySupportType.Uri); - if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); - } - else - { - Assert.AreEqual(LaunchQuerySupportStatus.Available, result); - } + Assert.AreEqual(LaunchQuerySupportStatus.Available, result); } [TestMethod] @@ -77,14 +69,7 @@ public async Task When_Unsupported_Special_Uri_Is_Queried() new Uri("ms-windows-store://home"), LaunchQuerySupportType.Uri); - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - Assert.AreEqual(LaunchQuerySupportStatus.Available, result); - } - else - { - Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); - } + Assert.AreEqual(LaunchQuerySupportStatus.NotSupported, result); } private async Task DispatchAsync(Func asyncAction)