Skip to content

Commit

Permalink
Add missing assert! calls
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 16, 2024
1 parent 8124a5e commit d594c9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/run-make/rustdoc-scrape-examples-ordering/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ fn main() {
}
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());
}
2 changes: 1 addition & 1 deletion tests/run-make/rustdoc-themes/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ fn main() {
std::fs::write(&test_css, test_content).unwrap();

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

0 comments on commit d594c9c

Please sign in to comment.