Skip to content

Commit 08de49d

Browse files
committed
make testing a little more ergonomic
1 parent ef5c056 commit 08de49d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/shellchat/src/cmds/test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,9 @@ impl<'a> ShellCmdApi<'a> for Test {
666666
}
667667
}
668668
"hpstate" => {
669-
write!(ret, "HP state: {:?}", self.codec.poll_headphone_state()).ok();
669+
let state = self.codec.poll_headphone_state();
670+
log::info!("{:?}", state);
671+
write!(ret, "{:?}", state).ok();
670672
}
671673
"ecup" => {
672674
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();

0 commit comments

Comments
 (0)