mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Skip test on Windows Server 2012 R2 for no-nl (#21265)
This commit is contained in:
@@ -110,6 +110,12 @@ string2=string2
|
||||
) {
|
||||
param ( $UICulture, $ExpectedString )
|
||||
|
||||
if ($UICulture -eq 'no-NL' -and (Test-IsWinServer2012R2))
|
||||
{
|
||||
Set-ItResult -Skipped -Because 'no-NL culture is not available on Windows Server 2012 R2'
|
||||
return
|
||||
}
|
||||
|
||||
[System.Globalization.CultureInfo]::CurrentUICulture = $UICulture
|
||||
|
||||
$data = Import-LocalizedData -UICulture $UICulture
|
||||
@@ -123,6 +129,12 @@ string2=string2
|
||||
) {
|
||||
param ( $UICulture, $ExpectedString )
|
||||
|
||||
if ($UICulture -eq 'no-NL' -and (Test-IsWinServer2012R2))
|
||||
{
|
||||
Set-ItResult -Skipped -Because 'no-NL culture is not available on Windows Server 2012 R2'
|
||||
return
|
||||
}
|
||||
|
||||
[System.Globalization.CultureInfo]::CurrentUICulture = $UICulture
|
||||
|
||||
$data = Import-LocalizedData -FileName 'I18n_altfilename'
|
||||
|
||||
Reference in New Issue
Block a user