Commit ca2045c
committed
tests: Fix invalid custom test
In the custom tests, only the first test case is ever checked, if the
value is above zero. Fix this by inverting the conditions and letting
the function return Ok later. Returning Ok was already present in the
function.
Signed-off-by: Esa Laakso <[email protected]>1 parent fc5ae84 commit ca2045c
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 58 | + | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 64 | + | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
| |||
0 commit comments