Commit 88ba377
committed
fix(ci): remove useless unsigned comparison in timing tests
Remove useless comparison `time.as_millis() >= 0` in timing test.
Since `as_millis()` returns u128 (unsigned), the comparison is
always true and triggers `-D unused-comparisons` in CI.
The test already validates upper bound with `<= 15` check, which
is sufficient to ensure the traffic shaper timing is reasonable.
Fixes CI failure on main branch.1 parent 01296e2 commit 88ba377
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
| |||
0 commit comments