Skip to content

Commit

Permalink
Output logs to stdout when running tests in logging example (stellar#133
Browse files Browse the repository at this point in the history
)
  • Loading branch information
leighmcculloch authored Oct 6, 2022
1 parent 3a0f1aa commit bdac2e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion logging/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ fn test() {

client.hello(&symbol!("Dev"));

assert_eq!(env.logger().all(), std::vec!["Hello Symbol(Dev)"]);
let logs = env.logger().all();
assert_eq!(logs, std::vec!["Hello Symbol(Dev)"]);
std::println!("{}", logs.join("\n"));
}

0 comments on commit bdac2e2

Please sign in to comment.