Uncomment persistence tests

This commit is contained in:
Kirill Bulatov 2023-11-03 12:38:09 +02:00
parent a9ab413c5a
commit eb8a0e7148
17 changed files with 437 additions and 442 deletions

View file

@ -234,7 +234,6 @@ impl SyntaxMap {
self.snapshot.interpolate(text);
}
#[allow(dead_code)] // todo!()
#[cfg(test)]
pub fn reparse(&mut self, language: Arc<Language>, text: &BufferSnapshot) {
self.snapshot
@ -786,7 +785,6 @@ impl SyntaxSnapshot {
)
}
#[allow(dead_code)] // todo!()
#[cfg(test)]
pub fn layers<'a>(&'a self, buffer: &'a BufferSnapshot) -> Vec<SyntaxLayerInfo> {
self.layers_for_range(0..buffer.len(), buffer).collect()