diff --git a/crates/ty_server/tests/e2e/code_actions.rs b/crates/ty_server/tests/e2e/code_actions.rs index ba4e78f744..d60d9ad302 100644 --- a/crates/ty_server/tests/e2e/code_actions.rs +++ b/crates/ty_server/tests/e2e/code_actions.rs @@ -330,7 +330,7 @@ ab: "foobar" .build() .wait_until_workspaces_are_initialized(); - server.open_text_document(foo, &foo_content, 1); + server.open_text_document(foo, foo_content, 1); // Wait for diagnostics to be computed. let diagnostics = server.document_diagnostic_request(foo, None);