Skip to content

Commit

Permalink
rebase main
Browse files Browse the repository at this point in the history
  • Loading branch information
He1pa committed May 24, 2024
1 parent 59919f6 commit 3b08dbe
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions kclvm/tools/src/LSP/src/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1683,8 +1683,9 @@ mod tests {
line: 9,
column: Some(9),
};
let tool = toolchain::default();

let mut got = completion(None, &program, &pos, &gs).unwrap();
let mut got = completion(None, &program, &pos, &gs, &tool).unwrap();

match &mut got {
CompletionResponse::Array(arr) => {
Expand All @@ -1707,7 +1708,9 @@ mod tests {
column: Some(9),
};

let mut got = completion(None, &program, &pos, &gs).unwrap();
let tool = toolchain::default();

let mut got = completion(None, &program, &pos, &gs, &tool).unwrap();

match &mut got {
CompletionResponse::Array(arr) => {
Expand All @@ -1729,7 +1732,8 @@ mod tests {
column: Some(13),
};

let mut got = completion(None, &program, &pos, &gs).unwrap();
let tool = toolchain::default();
let mut got = completion(None, &program, &pos, &gs, &tool).unwrap();

match &mut got {
CompletionResponse::Array(arr) => {
Expand All @@ -1752,7 +1756,9 @@ mod tests {
column: Some(9),
};

let mut got = completion(None, &program, &pos, &gs).unwrap();
let tool = toolchain::default();

let mut got = completion(None, &program, &pos, &gs, &tool).unwrap();

match &mut got {
CompletionResponse::Array(arr) => {
Expand Down

0 comments on commit 3b08dbe

Please sign in to comment.