You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: digital-currency/bitcoin/src/main/java/org/javamoney/shelter/bitcoin/provider/BitcoinCurrencyProvider.java
Copy file name to clipboardExpand all lines: digital-currency/bitcoin/src/test/groovy/org/javamoney/shelter/bitcoin/provider/BitcoinCurrencyProviderSpec.groovy
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ class BitcoinCurrencyProviderSpec extends Specification {
39
39
then:
40
40
currencies.size() ==1
41
41
btc.getCurrencyCode() =="BTC"
42
+
btc.getDefaultFractionDigits() ==8
42
43
}
43
44
44
45
def"returns Bitcoin for BTC query" () {
@@ -50,6 +51,7 @@ class BitcoinCurrencyProviderSpec extends Specification {
0 commit comments