Skip to content

Commit a8733fb

Browse files
stephentoubCopilot
andcommitted
Handle expanded command results in Rust tests
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent aef4bd9 commit a8733fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/tests/e2e/commands.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ async fn session_commands_invoke_known_builtin_returns_expected_result() {
120120
assert!(!prompt.prompt.trim().is_empty());
121121
}
122122
SlashCommandInvocationResult::Completed(_) => {}
123+
unexpected => panic!("unexpected command result: {unexpected:?}"),
123124
}
124125

125126
session.disconnect().await.expect("disconnect session");

0 commit comments

Comments
 (0)