Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,8 @@ namespace PowershellTestConfigNamespace
It "Enable-PSSession Cmdlet creates a default PSSession configuration untied to a specific PowerShell version." {
$dotPos = $PSVersionTable.PSVersion.ToString().IndexOf(".")
$endpointName = "PowerShell." + $PSVersionTable.PSVersion.ToString().Substring(0, $dotPos)
if ($PSVersionTable.GitCommitId.Contains("preview"))
# any pre-release (a version with a dash) is a preview release
if ($PSVersionTable.GitCommitId.Contains("-"))
{
$endpointName += "-preview"
}
Expand Down