add inverted Network mismatch tests

This commit is contained in:
Daniel Cousens 2018-09-26 15:44:55 +10:00
parent df2a66c852
commit 6927f74b7a
2 changed files with 27 additions and 0 deletions

View file

@ -325,6 +325,24 @@
}
}
},
{
"exception": "Network mismatch",
"arguments": {
"network": "bitcoin",
"redeem": {
"network": "testnet"
}
}
},
{
"exception": "Network mismatch",
"arguments": {
"network": "testnet",
"redeem": {
"network": "bitcoin"
}
}
},
{
"exception": "Empty input",
"arguments": {

View file

@ -306,6 +306,15 @@
}
}
},
{
"exception": "Network mismatch",
"arguments": {
"network": "testnet",
"redeem": {
"network": "bitcoin"
}
}
},
{
"exception": "Invalid prefix or Network mismatch",
"arguments": {