Skip to content

Commit

Permalink
convert func test AllMacRunners to AllPOSIXRunners
Browse files Browse the repository at this point in the history
See VFSForGit commits 8f4079a8adaac96340ecddce3ac5a696672e0a4f
and ef3201b6eac5cb2914c9f7a100ac9e20d20ee1b8.

Co-authored-by: Ashe Connor <ashe@kivikakk.ee>
  • Loading branch information
chrisd8088 and kivikakk committed Aug 16, 2020
1 parent 2eff405 commit b1952bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public abstract class FileSystemRunner
new object[] { new BashRunner() },
};

public static object[] AllMacRunners { get; } =
public static object[] AllPOSIXRunners { get; } =
new[]
{
new object[] { new SystemIORunner() },
Expand Down
5 changes: 3 additions & 2 deletions Scalar.FunctionalTests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ public static void Main(string[] args)
{
ScalarTestConfig.FileSystemRunners = FileSystemRunners.FileSystemRunner.AllWindowsRunners;
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ||
RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
ScalarTestConfig.FileSystemRunners = FileSystemRunners.FileSystemRunner.AllMacRunners;
ScalarTestConfig.FileSystemRunners = FileSystemRunners.FileSystemRunner.AllPOSIXRunners;
}
}
else
Expand Down

0 comments on commit b1952bf

Please sign in to comment.