core: retain workspace command diagnostics

This commit is contained in:
pakrym-oai
2026-07-09 18:33:23 -07:00
parent 9f75bf7a17
commit 500e176de4
+3 -1
View File
@@ -212,7 +212,9 @@ async fn workspace_roots_allow_file_read_and_command_run() -> Result<()> {
.context("command result should be present")?;
assert_ne!(success, Some(false));
assert!(
command_output.is_some_and(|output| output.contains(COMMAND_CONTENTS)),
command_output
.as_deref()
.is_some_and(|output| output.contains(COMMAND_CONTENTS)),
"command should read the workspace-root file, got {command_output:?}"
);