1
Fork 0

std: get rid of sys_common::io

This commit is contained in:
joboet 2025-01-18 19:12:14 +01:00
parent a9df224ac7
commit 7433ba62b1
No known key found for this signature in database
GPG key ID: 704E0149B0194B3C
17 changed files with 84 additions and 88 deletions

View file

@ -697,7 +697,7 @@ fn debug_print() {
#[test]
#[cfg(windows)]
fn run_bat_script() {
let tempdir = crate::sys_common::io::test::tmpdir();
let tempdir = crate::test_helpers::tmpdir();
let script_path = tempdir.join("hello.cmd");
crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap();
@ -716,7 +716,7 @@ fn run_bat_script() {
#[test]
#[cfg(windows)]
fn run_canonical_bat_script() {
let tempdir = crate::sys_common::io::test::tmpdir();
let tempdir = crate::test_helpers::tmpdir();
let script_path = tempdir.join("hello.cmd");
crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap();