diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-05-20 16:40:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 16:40:55 -0400 |
commit | 1fcecb6789c3f111bc1554766ba9347afcfd02dc (patch) | |
tree | 19cd1b121412b992994b2fe4bea0463793d3986e /cli/lsp/testing/execution.rs | |
parent | e7c894e8f54ebd2d9fd61c97a265906ac54e2068 (diff) |
refactor: upgrade to deno_ast 0.15 (#14680)
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r-- | cli/lsp/testing/execution.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 358f9357b..4f4b9bf1f 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -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 { |