test: Revert broken env! macro for bin resolution
This commit is contained in:
1 parent
a87e37cb53
commit
a9a861abe1
2 files changed
+14
-5
No files matched your search
@@ -44,9 +44,12 @@ fn read_message(stdout: &mut std::process::ChildStdout) -> Option<Value> {
|
||||
#[test]
|
||||
fn test_mcp_initialization_and_tools_list() {
|
||||
// Determine the path to the built binary.
|
||||
let nvim_exe = env!("CARGO_BIN_EXE_mcp-memory-win-nvim");
|
||||
let mut nvim_exe = std::env::current_exe().unwrap();
|
||||
nvim_exe.pop();
|
||||
nvim_exe.pop();
|
||||
nvim_exe.push("mcp-memory-win-nvim.exe");
|
||||
|
||||
let mut child = Command::new(nvim_exe)
|
||||
let mut child = Command::new(&nvim_exe)
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped())
|
||||
|
||||
Reference in new issue
Block a user