about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-scrape-examples-macros
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-06-09 15:45:57 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-06-11 09:14:28 +0000
commitca95f783c1cb84ea5739681ba284eccbb41ebf6b (patch)
tree7e9965300665339b64139a90e6033e6f488242da /tests/run-make/rustdoc-scrape-examples-macros
parent54e704437b3968c3cb14bf8ceb08ca34610425ae (diff)
downloadrust-ca95f783c1cb84ea5739681ba284eccbb41ebf6b.tar.gz
rust-ca95f783c1cb84ea5739681ba284eccbb41ebf6b.zip
tests/run-make: update tests to use new API
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-macros')
-rw-r--r--tests/run-make/rustdoc-scrape-examples-macros/rmake.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs b/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
index c9650def347..bfe4a1df456 100644
--- a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
+++ b/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
@@ -56,5 +56,5 @@ fn main() {
         .arg(&ex_dir)
         .run();
 
-    assert!(htmldocck().arg(out_dir).arg("src/lib.rs").status().unwrap().success());
+    htmldocck().arg(out_dir).arg("src/lib.rs").run();
 }