Commit 2a911cc
Fix Windows CI: Add fallback assertions for permission tests
Fix test failures on Windows CI where permission validation tests were
running without assertions, causing "Test ran without assertions" errors.
The issue occurred because permission validation is Unix-only, and the
entire test body was wrapped in (when-not Windows ...) without a fallback
assertion for Windows systems.
Changes:
- permission-validation-unix-test: Replace when-not with if/else
- permission-validation-secure-test: Replace when-not with if/else
- Add fallback assertion on Windows: (is true "...skipped on Windows")
- Unix behavior unchanged: actual permission tests still run
Before (Windows):
(when-not Windows
(is ...)) ; No assertion runs on Windows -> FAIL
After (Windows):
(if Windows
(is true "skipped") ; Assertion runs -> PASS
(is ...)) ; Unix: actual test runs
All 207 tests pass with 783 assertions.
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca <noreply@eca.dev>1 parent 4777b10 commit 2a911cc
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
723 | | - | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
724 | 726 | | |
725 | 727 | | |
726 | 728 | | |
| |||
754 | 756 | | |
755 | 757 | | |
756 | 758 | | |
757 | | - | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
758 | 763 | | |
759 | 764 | | |
760 | 765 | | |
| |||
0 commit comments