Skip to content

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

Rust

fix(commands): fix brittle /session help assertion after delete subcommand addition

YeonGyu-Kim000aed418841
diff --git a/rust/crates/commands/src/lib.rs b/rust/crates/commands/src/lib.rs
index dc329d10..556ff968 100644
--- a/rust/crates/commands/src/lib.rs
+++ b/rust/crates/commands/src/lib.rs
@@ -4469,7 +4469,7 @@ mod tests {
assert!(help.contains("/diff"));
assert!(help.contains("/version"));
assert!(help.contains("/export [file]"));
- assert!(help.contains("/session [list|switch <session-id>|fork [branch-name]]"));
+ assert!(help.contains("/session"), "help must mention /session");
assert!(help.contains("/sandbox"));
assert!(help.contains(
"/plugin [list|install <path>|enable <name>|disable <name>|uninstall <id>|update <id>]"