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:
parent
dbec9807f9
commit
f3e853e07a
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue