Migrate runmake tests away from custom commands and command_output
This commit is contained in:
parent
18ae9afa82
commit
0a190e8d2d
30 changed files with 176 additions and 141 deletions
|
@ -4,9 +4,7 @@
|
|||
use run_make_support::rustdoc;
|
||||
|
||||
fn main() {
|
||||
let output =
|
||||
String::from_utf8(rustdoc().input("input.rs").arg("--test").command_output().stdout)
|
||||
.unwrap();
|
||||
let output = rustdoc().input("input.rs").arg("--test").run_fail().stdout_utf8();
|
||||
|
||||
let should_contain = &[
|
||||
"input.rs - foo (line 5)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue