Skip to content

Commit 4db1a25

Browse files
committed
fix: allow assertions_on_constants for compile-time test assertions
1 parent a441807 commit 4db1a25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cortex-common/src/timeout.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ mod tests {
4949
use super::*;
5050

5151
#[test]
52+
#[allow(clippy::assertions_on_constants)]
5253
fn test_timeout_values_are_reasonable() {
5354
// Exec timeout should be greater than request timeout
5455
assert!(DEFAULT_EXEC_TIMEOUT_SECS > DEFAULT_REQUEST_TIMEOUT_SECS);

0 commit comments

Comments
 (0)