Add missing assert! calls

This commit is contained in:
Guillaume Gomez 2024-05-17 00:47:18 +02:00
parent 8124a5e74d
commit d594c9ceea
2 changed files with 2 additions and 2 deletions

View File

@ -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());
} }

View File

@ -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());
} }