Skip to content

Commit

Permalink
change tests around part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Dec 1, 2024
1 parent ff0f6de commit 8b0fe7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-windows-script-replacer-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
- name: Verify new situation
shell: powershell
run: |
Get-Command lando
if (-not (Get-Command lando | Select-Object -ExpandProperty Source | Select-String -Pattern "$env:LOCALAPPDATA\Lando\${{ matrix.version}}\lando.exe" -SimpleMatch)) {
if (-not (Get-Command lando | Select-Object -ExpandProperty Source | Select-String -Pattern "$env:USERPROFILE\.lando\bin\lando.cmd" -SimpleMatch)) {
throw "Error: lando is not where we expect it!"
}
if (-not (lando version | Select-String -Pattern "${{ matrix.version }}")) {
$reported = lando version
throw "Error: lando is not the version we expect! expected ${{ matrix.version}} but found $reported"
Expand Down

0 comments on commit 8b0fe7c

Please sign in to comment.