Skip to content

Commit abe5e1a

Browse files
author
Salim Afiune
committed
Remove find_program tests
We need to move this tests to live inside the module since the `find_program` fn is a private implementation. Signed-off-by: Salim Afiune <[email protected]>
1 parent 6b9b6f1 commit abe5e1a

File tree

4 files changed

+3
-83
lines changed

4 files changed

+3
-83
lines changed

src/libstd/sys/windows/process.rs

-3
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ impl Command {
112112
pub fn env_clear(&mut self) {
113113
self.env = Some(HashMap::new())
114114
}
115-
pub fn with_env(&mut self, env: &HashMap<OsString, OsString>) {
116-
self.env = Some(env)
117-
}
118115
pub fn cwd(&mut self, dir: &OsStr) {
119116
self.cwd = Some(dir.to_os_string())
120117
}

src/test/run-pass/process_command/find_program.rs

-80
This file was deleted.

src/test/run-pass/process_command/fixtures/bin/bin.bat

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@ECHO OFF
2+
SET foo=bar
3+
ECHO testing %foo%

0 commit comments

Comments
 (0)