We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6479786 commit 53b37b6Copy full SHA for 53b37b6
tmc-langs-cli/tests/core.rs
@@ -34,8 +34,7 @@ fn init() -> (Mock, Mock) {
34
}
35
36
fn run_cmd(args: &[&str]) -> Output {
37
- let path = env::current_exe().unwrap().parent().unwrap().to_path_buf();
38
- let path = path.parent().unwrap().join("tmc-langs-cli");
+ let path = env!("CARGO_BIN_EXE_tmc-langs-cli");
39
let mut child = Command::new(path)
40
.stdout(Stdio::piped())
41
.stdin(Stdio::piped())
0 commit comments