Test task shell commands (#38706)
Add tests on task commands, to ensure things like https://github.com/zed-industries/zed/issues/38343 do not come so easily unnoticed and to provide a base to create more tests in the future, if needed. Release Notes: - N/A --------- Co-authored-by: Lukas Wirth <lukas@zed.dev>
This commit is contained in:
co-authored by
Lukas Wirth
parent
edb804de5a
commit
d8048f46ee
@@ -1026,7 +1026,7 @@ impl RunningState {
|
||||
};
|
||||
|
||||
let builder = ShellBuilder::new(remote_shell.as_deref(), &task.resolved.shell);
|
||||
let command_label = builder.command_label(&task.resolved.command_label);
|
||||
let command_label = builder.command_label(task.resolved.command.as_deref().unwrap_or(""));
|
||||
let (command, args) =
|
||||
builder.build(task.resolved.command.clone(), &task.resolved.args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user