Skip to content

Commit

Permalink
Add test for Win 10 SDK with leading whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Feb 20, 2025
1 parent 48410db commit 85f7bc2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,25 @@ steps:
- github_commit_status:
context: "install_windows_10_sdk Tests - Version file with more than one new line"

- label: ":windows: install_windows_10_sdk Tests - Version file with trailing whitespace"
- label: ":windows: install_windows_10_sdk Tests - Version file with leading whitespaces"
command: |
" 123" | Out-File .windows-10-sdk-version
.\tests\test-install-windows-10-sdk.ps1 -ExpectedExitCode 0
agents:
queue: windows
notify:
- github_commit_status:
context: "install_windows_10_sdk Tests - Version file with leading whitespaces"

- label: ":windows: install_windows_10_sdk Tests - Version file with trailing whitespaces"
command: |
"123 " | Out-File .windows-10-sdk-version
.\tests\test-install-windows-10-sdk.ps1 -ExpectedExitCode 0
agents:
queue: windows
notify:
- github_commit_status:
context: "install_windows_10_sdk Tests - Version file with trailing whitespace"
context: "install_windows_10_sdk Tests - Version file with trailing whitespaces"

- label: ":windows: install_windows_10_sdk Tests - Version file with a word"
command: |
Expand Down

0 comments on commit 85f7bc2

Please sign in to comment.