More cleanup during review
This commit is contained in:
parent
5ec828a3e2
commit
14bccb4a90
9 changed files with 16 additions and 122 deletions
|
@ -36,8 +36,6 @@ mod tests {
|
|||
.host_function_async("import_half", |a: u32| async move { a / 2 })
|
||||
.unwrap()
|
||||
.host_function_async("command_async", |command: String| async move {
|
||||
// TODO: actual thing
|
||||
dbg!(&command);
|
||||
let mut args = command.split(' ');
|
||||
let command = args.next().unwrap();
|
||||
smol::process::Command::new(command)
|
||||
|
@ -45,10 +43,7 @@ mod tests {
|
|||
.output()
|
||||
.await
|
||||
.ok()
|
||||
.map(|output| {
|
||||
dbg!("Did run command!");
|
||||
output.stdout
|
||||
})
|
||||
.map(|output| output.stdout)
|
||||
})
|
||||
.unwrap()
|
||||
.init(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue