You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want compare command stdout with my tested app's stdout like this:
let output = Command::new("uname").output().unwrap();
let stdout = output.stdout;
new_cmd!()
.assert()
.success()
.stdout(stdout) // this will give an error
.stderr("");
I can't find a simple API from predicates. Can you suggest a proper way to handle this?
The text was updated successfully, but these errors were encountered:
I want compare command stdout with my tested app's stdout like this:
I can't find a simple API from predicates. Can you suggest a proper way to handle this?
The text was updated successfully, but these errors were encountered: