BTC price output cleanup.
This commit is contained in:
parent
35399c3f78
commit
1f965a1833
3 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ class BitcoinTest : LocalProperties() {
|
|||
fun testMarketPrice() {
|
||||
var messages = marketPrice("USD")
|
||||
assertThat(messages).`as`("not empty").isNotEmpty
|
||||
assertThat(messages[0].msg).`as`("bitcoin & $").startsWith("BITCOIN").contains("$")
|
||||
assertThat(messages[0].msg).`as`("bitcoin, BTC, $").startsWith("Bitcoin").contains("BTC").contains("$")
|
||||
//assertThat(messages[1].msg).`as`("15m").contains("15m")
|
||||
|
||||
messages = marketPrice("GBP")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue