Include channel and commit info in the version of pre-release builds (#6819)

This commit is contained in:
Michael Vines
2019-11-10 22:39:13 -07:00
committed by GitHub
parent 5835b3b8eb
commit cfab36cb1d
5 changed files with 25 additions and 12 deletions

View File

@ -18,7 +18,7 @@ fn test_rpc_client() {
assert_eq!(
client.get_version().unwrap(),
format!("{{\"solana-core\":\"{}\"}}", env!("CARGO_PKG_VERSION"))
format!("{{\"solana-core\":\"{}\"}}", solana_core::version!())
);
assert_eq!(client.get_balance(&bob_pubkey).unwrap(), 0);