faucet: Add failing test case

This commit is contained in:
Trent Nelson 2020-10-06 09:21:40 -06:00 committed by Trent Nelson
parent 630eb3b907
commit 5ae704d560
1 changed files with 2 additions and 0 deletions

View File

@ -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]