fix unit test to handle
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 39s
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 39s
This commit is contained in:
@@ -39,7 +39,8 @@ function execute_test_script() {
|
||||
currentEnvsAfter=$(env | sort)
|
||||
|
||||
# diff as unified +/- output without context before/after
|
||||
diff --unified=0 <(echo "$currentEnvsBefore") <(echo "$currentEnvsAfter")
|
||||
# non-zero value returned when differences exist, which is expected
|
||||
diff --unified=0 <(echo "$currentEnvsBefore") <(echo "$currentEnvsAfter") || true
|
||||
|
||||
exit $exitCode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user