units: Do trivial refactor of amount::tests

We are trying to make changes to `units::amount` but the diff is too
big - do the remove-whitespace change on its own.

Whitespace only.
This commit is contained in:
Tobin C. Harding 2025-01-23 14:43:11 +11:00
parent dbec9807f9
commit f3e853e07a
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 0 additions and 2 deletions

View File

@ -576,9 +576,7 @@ fn unsigned_signed_conversion() {
let max_sats: u64 = Amount::MAX.to_sat();
assert_eq!(ua(max_sats).to_signed(), sa(max_sats as i64));
assert_eq!(sa(max_sats as i64).to_unsigned(), Ok(ua(max_sats)));
assert_eq!(sa(max_sats as i64).to_unsigned().unwrap().to_signed(), sa(max_sats as i64));
}