Skip to content

Commit 3fd8231

Browse files
style(router): apply cargo fmt to backend.rs
Signed-off-by: Milos Milutinovic <[email protected]>
1 parent d4e5e98 commit 3fd8231

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎crates/openshell-router/src/backend.rs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -864,10 +864,7 @@ mod tests {
864864
// below a non-root prefix (e.g. /openai/v1). The /v1 in the request
865865
// path must still be stripped so it is not doubled.
866866
assert_eq!(
867-
build_backend_url(
868-
"https://api.groq.com/openai/v1",
869-
"/v1/chat/completions"
870-
),
867+
build_backend_url("https://api.groq.com/openai/v1", "/v1/chat/completions"),
871868
"https://api.groq.com/openai/v1/chat/completions"
872869
);
873870
}

0 commit comments

Comments
 (0)