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