File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,13 @@ use sqlx::Executor;
23
23
use std:: any:: type_name;
24
24
use std:: fmt:: Display ;
25
25
use std:: time:: Duration ;
26
- use test_log:: test;
27
26
use tower:: timeout:: Timeout ;
28
27
use tower:: { Service , ServiceExt } ;
29
28
use tower_lsp:: LspService ;
30
29
use tower_lsp:: jsonrpc;
31
30
use tower_lsp:: jsonrpc:: Response ;
32
31
use tower_lsp:: lsp_types as lsp;
33
32
use tower_lsp:: lsp_types:: CodeActionContext ;
34
- use tower_lsp:: lsp_types:: CodeActionOrCommand ;
35
33
use tower_lsp:: lsp_types:: CodeActionParams ;
36
34
use tower_lsp:: lsp_types:: CodeActionResponse ;
37
35
use tower_lsp:: lsp_types:: CompletionParams ;
@@ -250,6 +248,7 @@ impl Server {
250
248
. await
251
249
}
252
250
251
+ #[ allow( unused) ]
253
252
async fn close_document ( & mut self ) -> Result < ( ) > {
254
253
self . notify (
255
254
"textDocument/didClose" ,
@@ -827,8 +826,8 @@ async fn test_execute_statement() -> Result<()> {
827
826
828
827
let doc_content = r#"
829
828
create table users (
830
- id serial primary key,
831
- name text,
829
+ id serial primary key,
830
+ name text,
832
831
email text
833
832
);
834
833
"# ;
Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ drop table unknown_users;
6
6
select
7
7
*
8
8
from
9
- unknown_users;
9
+ unknown_users;
10
+
11
+ sel 1 ;
You can’t perform that action at this time.
0 commit comments