Skip to content

Commit f025954

Browse files
committed
Remove TODO
1 parent 9ac22e5 commit f025954

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/workspace.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,7 @@ mod tests {
703703
let _ = env_logger::builder().is_test(true).try_init();
704704
let mut ws = Workspace::new(vec![]);
705705
let uri = Url::from_file_path(std::env::temp_dir().join("foo.proto")).unwrap();
706-
// TODO: This returns Error because protoc needs a file on disk.
707-
// Replace with unwrap after errors are based on treesitter.
708-
_ = ws.open(uri.clone(), "".into());
706+
ws.open(uri.clone(), "".into()).unwrap();
709707
assert_eq!(
710708
ws.complete(&uri, 0, 0).unwrap().unwrap(),
711709
lsp_types::CompletionResponse::Array(vec![

0 commit comments

Comments
 (0)