Skip to content

Commit

Permalink
Update String-equality-operators PS 7.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nightroman committed Apr 12, 2024
1 parent 85e38d7 commit 0067931
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Basic/String-equality-operators/.test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ task Test-2 {

equals $r2 $false
if ($Version -ge ${7.2.1}) {
if ($Culture -eq 'en-GB' -and $UICulture -eq 'en-US') {
equals $r1 $false
return
}
if ($Culture -eq 'en-GB' -and $UICulture -eq 'en-GB') {
equals $r1 $false
return
Expand All @@ -23,11 +27,14 @@ task Test-2 {
"r1=$r1 used to be true but keeps changing in GHA"
return
}

Write-Warning "Untested cultures $Culture, $UICulture"
return
}
elseif ($Version.Major -ge 5) {
equals $r1 $true
return
}

Write-Warning "Untested version $Version or cultures $Culture, $UICulture"
Write-Warning "Untested version $Version"
}

0 comments on commit 0067931

Please sign in to comment.