Make fee_rate test identifiers uniform

We have a bunch of unit tests, some use `f` and some use `fee_rate`.
Uniform would be better.

Elect to use the longer form just because there are only 4 instances of
the shorter one (although I personally prefer the shorter form).
This commit is contained in:
Tobin C. Harding 2025-05-22 11:26:59 +10:00
parent 2e16dbb7e5
commit dc2cbc21f9
No known key found for this signature in database
GPG Key ID: 0AEF0A899E41F7DD
1 changed files with 4 additions and 4 deletions

View File

@ -257,8 +257,8 @@ mod tests {
assert_eq!(one.checked_add(two).unwrap(), three);
let f = FeeRate::from_sat_per_kwu(u64::MAX).checked_add(one);
assert!(f.is_none());
let fee_rate = FeeRate::from_sat_per_kwu(u64::MAX).checked_add(one);
assert!(fee_rate.is_none());
}
#[test]
@ -268,8 +268,8 @@ mod tests {
let three = FeeRate::from_sat_per_kwu(3);
assert_eq!(three.checked_sub(two).unwrap(), one);
let f = FeeRate::ZERO.checked_sub(one);
assert!(f.is_none());
let fee_rate = FeeRate::ZERO.checked_sub(one);
assert!(fee_rate.is_none());
}
#[test]