faucet: Add failing test case
This commit is contained in:
parent
630eb3b907
commit
5ae704d560
|
@ -324,6 +324,8 @@ mod tests {
|
||||||
assert!(faucet.check_time_request_limit(1));
|
assert!(faucet.check_time_request_limit(1));
|
||||||
faucet.request_current = 3;
|
faucet.request_current = 3;
|
||||||
assert!(!faucet.check_time_request_limit(1));
|
assert!(!faucet.check_time_request_limit(1));
|
||||||
|
faucet.request_current = 1;
|
||||||
|
assert!(!faucet.check_time_request_limit(u64::MAX));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue