Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorre committed Nov 2, 2024
1 parent 9ac22e5 commit f025954
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,9 +703,7 @@ mod tests {
let _ = env_logger::builder().is_test(true).try_init();
let mut ws = Workspace::new(vec![]);
let uri = Url::from_file_path(std::env::temp_dir().join("foo.proto")).unwrap();
// TODO: This returns Error because protoc needs a file on disk.
// Replace with unwrap after errors are based on treesitter.
_ = ws.open(uri.clone(), "".into());
ws.open(uri.clone(), "".into()).unwrap();
assert_eq!(
ws.complete(&uri, 0, 0).unwrap().unwrap(),
lsp_types::CompletionResponse::Array(vec![
Expand Down

0 comments on commit f025954

Please sign in to comment.