mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 12:46:43 +00:00
test: init completion package tests (#672)
This commit is contained in:
parent
28f2645c40
commit
7bc30bf2fa
21 changed files with 535 additions and 9 deletions
|
|
@ -142,9 +142,6 @@ pub fn run_with_sources<T>(source: &str, f: impl FnOnce(&mut LspUniverse, PathBu
|
|||
.unwrap();
|
||||
let sources = source.split("-----");
|
||||
|
||||
let pw = root.join(Path::new("/main.typ"));
|
||||
world.map_shadow(&pw, Bytes::from_static(b"")).unwrap();
|
||||
|
||||
let mut last_pw = None;
|
||||
for (i, source) in sources.enumerate() {
|
||||
// find prelude
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue