Skip to content

Commit

Permalink
Refining OS check
Browse files Browse the repository at this point in the history
  • Loading branch information
DemeSzabolcs committed May 13, 2024
1 parent 4f035ad commit 8260889
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;

namespace Lombiq.Tests.UI.Extensions;
Expand Down Expand Up @@ -74,7 +75,7 @@ public static void AssertVisualVerificationOnAllResolutions(

if (checkOS)
{
var oS = OperatingSystem.IsWindows() ? "Windows" : "Unix";
var oS = RuntimeInformation.OSDescription;

fileNameSuffix = $"{fileNameSuffix}-{oS}";
}
Expand Down

0 comments on commit 8260889

Please sign in to comment.