fix test
This commit is contained in:
parent
a4203368d4
commit
098d17711a
|
@ -66,7 +66,7 @@ test01GetInsecure() {
|
||||||
INFO=$(${CLIENT_EXE} rpc info)
|
INFO=$(${CLIENT_EXE} rpc info)
|
||||||
assertTrue "line=${LINENO}, get info" "$?"
|
assertTrue "line=${LINENO}, get info" "$?"
|
||||||
DATA=$(echo $INFO | jq .response.data)
|
DATA=$(echo $INFO | jq .response.data)
|
||||||
assertEquals "line=${LINENO}, basecoin info" '"Basecoin v0.7.0"' "$DATA"
|
assertEquals "line=${LINENO}, basecoin info" '"Basecoin v0.7.1"' "$DATA"
|
||||||
}
|
}
|
||||||
|
|
||||||
test02GetSecure() {
|
test02GetSecure() {
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
//nolint
|
//nolint
|
||||||
package version
|
package version
|
||||||
|
|
||||||
|
// when updating these,
|
||||||
|
// remember to also update examples/basecoin/tests/cli/rpc.sh
|
||||||
|
// ... ugh ....
|
||||||
|
|
||||||
const Maj = "0"
|
const Maj = "0"
|
||||||
const Min = "7"
|
const Min = "7"
|
||||||
const Fix = "1"
|
const Fix = "1"
|
||||||
|
|
Loading…
Reference in New Issue