diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 32113f8d..e9d0b48a 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -151,7 +151,17 @@ 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 @@ -159,7 +169,7 @@ steps: 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: |