Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/onboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,10 @@ mod tests {

let existing = load_existing_config_from(&dir).unwrap();
assert_eq!(existing.provider.as_deref(), Some("anthropic"));
assert_eq!(existing.model.as_deref(), Some("claude-sonnet-4-5-20250929"));
assert_eq!(
existing.model.as_deref(),
Some("claude-sonnet-4-5-20250929")
);
assert_eq!(existing.real_api_key.as_deref(), Some("sk-ant-existing"));
assert_eq!(
existing.virtual_api_key.as_deref(),
Expand Down
3 changes: 1 addition & 2 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1505,8 +1505,7 @@ async fn test_non_utf8_body_passes_through() {
Mock::given(method("POST"))
.and(path("/v1/audio/transcriptions"))
.respond_with(
ResponseTemplate::new(200)
.set_body_json(serde_json::json!({"text": "hello world"})),
ResponseTemplate::new(200).set_body_json(serde_json::json!({"text": "hello world"})),
)
.mount(&mock_server)
.await;
Expand Down