refactor: upgrade to deno_ast 0.15 (#14680)

This commit is contained in:
David Sherret 2022-05-20 16:40:55 -04:00 committed by GitHub
parent e7c894e8f5
commit 1fcecb6789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 365 additions and 314 deletions

View file

@ -917,7 +917,7 @@ impl test::TestReporter for LspTestReporter {
#[cfg(test)]
mod tests {
use super::*;
use crate::lsp::testing::collectors::tests::new_span;
use crate::lsp::testing::collectors::tests::new_range;
#[test]
fn test_as_queue_and_filters() {
@ -949,7 +949,7 @@ mod tests {
.to_string(),
level: 0,
name: "test a".to_string(),
span: new_span(420, 424, 1),
range: new_range(420, 424),
steps: None,
};
let test_def_b = TestDefinition {
@ -957,7 +957,7 @@ mod tests {
.to_string(),
level: 0,
name: "test b".to_string(),
span: new_span(480, 481, 1),
range: new_range(480, 481),
steps: None,
};
let test_definitions = TestDefinitions {