bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

commit 3feae7e50dbd6d186ad0b986716b7af8706b1639
parent d61fae8affb2316b0a175fc9a5423253b7d87788
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 23 Dec 2017 19:24:47 -0800

tests: make pretty in github again

Diffstat:
Mtest/run | 2+-
Mtest/tests.csv | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/run b/test/run @@ -1,7 +1,7 @@ #!/usr/bin/env bash process () { - tail -n+2 "$1" | sed -n '/^# failing/q;p' + tail -n+2 "$1" | sed -n '/^*failing/q;p' } n=1 diff --git a/test/tests.csv b/test/tests.csv @@ -30,7 +30,7 @@ penny usd to msats,--price 20000,0.01 usd in msats,50000 msats 100 mbtc in bits grammar,,100 mbtc in bits,100000 bits 100 mbtc in bits grammar with arith,,100 mbtc + 2 btc in btc,2.1 BTC set usb in grammar,--price 16000,780 bits in usd,12.48 usd -# failing +*failing,,, 1 BTC is 15000 usd,--price 15000,1 btc in usd,15000 USD -# needs implementation +*needs implementation,,, 1/2 btc should work,,1/2 btc,0.5