fix unit test to handle
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 39s

This commit is contained in:
2026-02-14 07:13:16 -05:00
parent 9af5466380
commit ffc769c8e5

View File

@@ -39,7 +39,8 @@ function execute_test_script() {
currentEnvsAfter=$(env | sort) currentEnvsAfter=$(env | sort)
# diff as unified +/- output without context before/after # 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 exit $exitCode
} }