Fix wallet test

This commit is contained in:
Greg Fitzgerald 2019-02-14 12:32:26 -07:00
parent 4e4a1643c4
commit c55ada2f26
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ fn test_wallet_deploy_program() {
.unwrap();
let account_info_obj = account_info.as_object().unwrap();
assert_eq!(account_info_obj.get("tokens").unwrap().as_u64().unwrap(), 1);
let loader_array = account_info.get("loader").unwrap();
assert_eq!(loader_array, &json!(bpf_loader::id()));
let owner_array = account_info.get("owner").unwrap();
assert_eq!(owner_array, &json!(bpf_loader::id()));
assert_eq!(
account_info_obj
.get("executable")