summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/execution.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r--cli/lsp/testing/execution.rs6
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 {