Impl OutputFormat for solana program (#14911)

This commit is contained in:
Tyera Eulberg
2021-02-01 10:39:37 -07:00
committed by GitHub
parent 49c908dc50
commit 52f0de3207
4 changed files with 104 additions and 35 deletions

View File

@ -2724,6 +2724,7 @@ mod tests {
use_deprecated_loader: false,
allow_excessive_balance: false,
};
config.output_format = OutputFormat::JsonCompact;
let result = process_command(&config);
let json: Value = serde_json::from_str(&result.unwrap()).unwrap();
let program_id = json