about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-verify-output-files/rmake.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-07-17 12:42:06 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-07-17 13:32:29 +0000
commit636be91cc0d8e406171ec4aa1b5dea4b77d1a714 (patch)
tree81c7a693a4ac6d0bc970bcd3a5f2afef05314d07 /tests/run-make/rustdoc-verify-output-files/rmake.rs
parente1569fde3efee2955e0a32beefc108c6874c9fd7 (diff)
downloadrust-636be91cc0d8e406171ec4aa1b5dea4b77d1a714.tar.gz
rust-636be91cc0d8e406171ec4aa1b5dea4b77d1a714.zip
tests: update for renamed `fs` module in run_make_support
Diffstat (limited to 'tests/run-make/rustdoc-verify-output-files/rmake.rs')
-rw-r--r--tests/run-make/rustdoc-verify-output-files/rmake.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/run-make/rustdoc-verify-output-files/rmake.rs b/tests/run-make/rustdoc-verify-output-files/rmake.rs
index 61dd97e09a9..efcc47079bd 100644
--- a/tests/run-make/rustdoc-verify-output-files/rmake.rs
+++ b/tests/run-make/rustdoc-verify-output-files/rmake.rs
@@ -1,7 +1,7 @@
-use run_make_support::fs_wrapper::copy;
+use run_make_support::fs as rfs;
 use std::path::{Path, PathBuf};
 
-use run_make_support::{assert_recursive_eq, copy_dir_all, rustdoc};
+use run_make_support::{assert_recursive_eq, rustdoc};
 
 #[derive(PartialEq)]
 enum JsonOutput {
@@ -26,7 +26,7 @@ fn main() {
     generate_docs(&out_dir, JsonOutput::No);
 
     // Copy first output for to check if it's exactly same after second compilation.
-    copy_dir_all(&out_dir, &tmp_out_dir);
+    rfs::copy_dir_all(&out_dir, &tmp_out_dir);
 
     // Generate html docs once again on same output.
     generate_docs(&out_dir, JsonOutput::No);
@@ -38,7 +38,7 @@ fn main() {
     assert!(out_dir.join("foobar.json").is_file());
 
     // Copy first json output to check if it's exactly same after second compilation.
-    copy(out_dir.join("foobar.json"), tmp_out_dir.join("foobar.json"));
+    rfs::copy(out_dir.join("foobar.json"), tmp_out_dir.join("foobar.json"));
 
     // Generate json doc on the same output.
     generate_docs(&out_dir, JsonOutput::Yes);