commit 6ab0661e99e911b43201454b82c03630b5d3fc5f
parent 4e40e8babeca81849a7e34b4953a8236bd8069c9
Author: William Casarin <jb55@jb55.com>
Date: Tue, 19 Dec 2017 15:06:40 -0800
test: plural tests
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/test/tests.csv b/test/tests.csv
@@ -6,4 +6,10 @@ lots of msats,-B,2 msat * 100000000000,2
chained multiply,-B,2100 btc * 0.1 * 0.1,21
10000 satoshis in bits,--bits,10000 sats,100
satoshis in bits to smallest bit,-bp,10000 sats * 0.01,1 bits
-parens,-B,(10 finneys * 1000) / 10,0.0001
+parens,-B,(10 finney * 1000) / 10,0.0001
+finney plural,-f,10 finneys,10
+finney singular,-f,10 finney,10
+satoshi singular,-sp,10 sat,10 sat
+satoshi plural,-sp,10 sats,10 sat
+msat singular,-mp,1 msat,1 msat
+msat plural,-mp,1 msats,1 msat