From 32e96934605b686fea74b01d81655f5f40a4fe4c Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 20 Feb 2020 17:17:22 -0500 Subject: [PATCH] Update tests again --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97c6669..854e951 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,11 +97,11 @@ jobs: run: | $fileA = "some/other/path/Artifact-A/world-A.txt" $fileB = "some/other/path/Artifact-B/world-B.txt" - if(!(Test-Path -path $fileA) || !(Test-Path -path $fileB)) + if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB)) { Write-Error "Expected files do not exist" } - if(!((Get-Content $fileA) -ceq "hello?") || !((Get-Content $fileB) -ceq "Hello!!")) + if(!((Get-Content $fileA) -ceq "hello?") -or !((Get-Content $fileB) -ceq "Hello!!")) { Write-Error "File contents of downloaded artifacts are incorrect" }