mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
Use Path.Separator in environment variables tests (#31)
This commit is contained in:
committed by
Alexey Golub
parent
486ccb9685
commit
32026e59c0
@@ -8,6 +8,7 @@ using CliFx.Models;
|
||||
using CliFx.Services;
|
||||
using CliFx.Tests.TestCommands;
|
||||
using CliFx.Tests.Stubs;
|
||||
using System.IO;
|
||||
|
||||
namespace CliFx.Tests.Services
|
||||
{
|
||||
@@ -106,7 +107,7 @@ namespace CliFx.Tests.Services
|
||||
new EnvironmentVariableWithoutCollectionPropertyCommand(),
|
||||
GetCommandSchema(typeof(EnvironmentVariableWithoutCollectionPropertyCommand)),
|
||||
new CommandInput(null, new CommandOptionInput[0], EnvironmentVariablesProviderStub.EnvironmentVariables),
|
||||
new EnvironmentVariableWithoutCollectionPropertyCommand { Option = "A;B;C;" }
|
||||
new EnvironmentVariableWithoutCollectionPropertyCommand { Option = $"A{Path.PathSeparator}B{Path.PathSeparator}C{Path.PathSeparator}" }
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user