aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b367d81..7348cbe 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -63,11 +63,7 @@ jobs:
if ('${{ matrix.platform }}' -eq 'x86') {
$flags += '-m32'
}
- $flags += @(
- '-std=c++14',
- '-o', 'foo.exe',
- 'foo.cpp'
- )
+ $flags += '-std=c++14','-o','foo.exe','foo.cpp'
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
@@ -80,8 +76,10 @@ jobs:
Doing something #2
Doing something #3
"@
+
$actual = & (Join-Path . foo.exe)
$actual = $actual -join [Environment]::NewLine
+
$($actual -eq $expected) -or $(throw @"
Unexpected output:
$actual