From 1fcecb6789c3f111bc1554766ba9347afcfd02dc Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 20 May 2022 16:40:55 -0400 Subject: refactor: upgrade to deno_ast 0.15 (#14680) --- cli/lsp/testing/execution.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/lsp/testing/execution.rs') 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 { -- cgit v1.2.3