mirror of https://github.com/rust-lang/rust.git
Add missing assert! calls
This commit is contained in:
parent
8124a5e74d
commit
d594c9ceea
|
@ -45,5 +45,5 @@ fn main() {
|
||||||
}
|
}
|
||||||
rustdoc.run();
|
rustdoc.run();
|
||||||
|
|
||||||
htmldocck().arg(out_dir).arg("src/lib.rs").status().unwrap().success();
|
assert!(htmldocck().arg(out_dir).arg("src/lib.rs").status().unwrap().success());
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,5 +27,5 @@ fn main() {
|
||||||
std::fs::write(&test_css, test_content).unwrap();
|
std::fs::write(&test_css, test_content).unwrap();
|
||||||
|
|
||||||
rustdoc().output(&out_dir).input("foo.rs").arg("--theme").arg(&test_css).run();
|
rustdoc().output(&out_dir).input("foo.rs").arg("--theme").arg(&test_css).run();
|
||||||
htmldocck().arg(out_dir).arg("foo.rs").status().unwrap().success();
|
assert!(htmldocck().arg(out_dir).arg("foo.rs").status().unwrap().success());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue