Skip to content

Commit 094b0aa

Browse files
committed
Apply nightly rustfmt import wrapping to two Rust e2e tests
Adding PermissionsResetSessionApprovalsRequest to these use blocks changed how nightly rustfmt reflows them. Matches `cargo +nightly-2026-04-14 fmt --all -- --config-path .rustfmt.nightly.toml`, which both the Rust SDK Tests fmt check and the codegen verify job run. Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e615d062-bcb7-431e-aa9c-d3e47405723a
1 parent 4c232cd commit 094b0aa

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

rust/tests/e2e/rpc_additional_edge_cases.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use github_copilot_sdk::rpc::{
22
ModeSetRequest, NameSetRequest, PermissionsResetSessionApprovalsRequest,
3-
PermissionsSetApproveAllRequest, PlanUpdateRequest,
4-
ShellExecRequest, WorkspacesCreateFileRequest, WorkspacesReadFileRequest,
3+
PermissionsSetApproveAllRequest, PlanUpdateRequest, ShellExecRequest,
4+
WorkspacesCreateFileRequest, WorkspacesReadFileRequest,
55
};
66
use github_copilot_sdk::session_events::SessionMode;
77

rust/tests/e2e/rpc_session_state.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ use github_copilot_sdk::rpc::{
66
MetadataSetWorkingDirectoryRequest, MetadataSnapshotCurrentMode, ModeSetRequest,
77
ModelSetReasoningEffortRequest, ModelSwitchToRequest, NameSetAutoRequest, NameSetRequest,
88
PermissionsResetSessionApprovalsRequest, PermissionsSetApproveAllRequest, PlanUpdateRequest,
9-
SessionSetCredentialsParams,
10-
SessionUpdateOptionsParams, SessionWorkingDirectoryContext,
9+
SessionSetCredentialsParams, SessionUpdateOptionsParams, SessionWorkingDirectoryContext,
1110
SessionWorkingDirectoryContextHostType, SessionsForkRequest, ShutdownRequest,
1211
TelemetrySetFeatureOverridesRequest, WorkspacesCreateFileRequest, WorkspacesReadFileRequest,
1312
};

0 commit comments

Comments
 (0)