Skip to content

Commit

Permalink
Update src/api/server.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
  • Loading branch information
Rolv-Apneseth and jeertmans authored Nov 1, 2024
1 parent b9c1169 commit 47b07a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ mod tests {
#[tokio::test]
async fn test_server_check_text() {
let client = ServerClient::from_env_or_default();
let req = Request::default().with_text(Cow::Borrowed("je suis une poupee"));
let req = Request::default().with_text("je suis une poupee");
assert!(client.check(&req).await.is_ok());
}

Expand Down

0 comments on commit 47b07a4

Please sign in to comment.