Skip to content

Commit

Permalink
make testing a little more ergonomic
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Nov 14, 2022
1 parent ef5c056 commit 08de49d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/shellchat/src/cmds/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,9 @@ impl<'a> ShellCmdApi<'a> for Test {
}
}
"hpstate" => {
write!(ret, "HP state: {:?}", self.codec.poll_headphone_state()).ok();
let state = self.codec.poll_headphone_state();
log::info!("{:?}", state);
write!(ret, "{:?}", state).ok();
}
"ecup" => {
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();
Expand Down

0 comments on commit 08de49d

Please sign in to comment.