Commit 2bb20af
Fix Windows unit-test failure on POSIX-only liveness probe tests
Two liveness-probe deftests had their bodies wrapped in
(when-not h/windows? ...). On Windows the body short-circuited to
nil, leaving the deftest with no (is ...) and causing kaocha to
report "Test ran without assertions" and fail the Windows unit
job. Skip the deftests at the var-definition level instead so they
simply do not exist on Windows.
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>1 parent 84d3985 commit 2bb20af
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | | - | |
45 | | - | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments