mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-28 16:36:45 +00:00
test(#775): integration tests for #769-#771 interactive-only guards and #774 hint fields; fix stale classifier unit test string
This commit is contained in:
@@ -12965,8 +12965,9 @@ mod tests {
|
||||
classify_error_kind("slash command /compact is interactive-only"),
|
||||
"interactive_only"
|
||||
);
|
||||
// #774: agents now uses \n-delimited format — update test string to match real emission
|
||||
assert_eq!(
|
||||
classify_error_kind("unknown agents subcommand: bogus. Supported: list, show, help"),
|
||||
classify_error_kind("unknown agents subcommand: bogus.\nSupported: list, show, help"),
|
||||
"unknown_agents_subcommand"
|
||||
);
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user