Skip to content

Commit e9bd632

Browse files
committed
Added another parameter for checking errors.
1 parent 5f3a9e4 commit e9bd632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlin/test.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ kotlin -J-ea "$PSScriptRoot\variables.kt" &&
3838
kotlin -J-ea "$PSScriptRoot\vectors.kt" &&
3939
ForEach-Object 'foo';
4040

41-
if ($Error) {
41+
if ($Error -or $?) {
4242
"*** KOTLIN TESTS FAILED ***"
4343
}
4444
else {

0 commit comments

Comments
 (0)