Skip to content

Commit 4dcdf73

Browse files
committed
Add µBTC and µbtc to tests
1 parent afba28e commit 4dcdf73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

units/src/amount/tests.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,9 @@ fn checked_sum_amounts() {
10131013
fn denomination_string_acceptable_forms() {
10141014
// Exhaustive list of valid forms.
10151015
let valid = [
1016-
"BTC", "btc", "cBTC", "cbtc", "mBTC", "mbtc", "uBTC", "ubtc", "bit", "bits", "BIT", "BITS",
1017-
"SATOSHI", "satoshi", "SATOSHIS", "satoshis", "SAT", "sat", "SATS", "sats",
1016+
"BTC", "btc", "cBTC", "cbtc", "mBTC", "mbtc", "uBTC", "ubtc", "µBTC", "µbtc", "bit",
1017+
"bits", "BIT", "BITS", "SATOSHI", "satoshi", "SATOSHIS", "satoshis", "SAT", "sat", "SATS",
1018+
"sats",
10181019
];
10191020
for denom in valid {
10201021
assert!(denom.parse::<Denomination>().is_ok());

0 commit comments

Comments
 (0)