summaryrefslogtreecommitdiff
path: root/support/texlab/tests/test_definition_latex_math_operator.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-05-28 03:03:21 +0000
committerNorbert Preining <norbert@preining.info>2020-05-28 03:03:21 +0000
commit745892fbddea56040139108277e728b53fd8fc11 (patch)
tree15e55e299b38fccdabce8364f1fbf4f02ef37994 /support/texlab/tests/test_definition_latex_math_operator.rs
parent195ca7e0c377d83455867bdd8e409d4e1cf024ea (diff)
CTAN sync 202005280303
Diffstat (limited to 'support/texlab/tests/test_definition_latex_math_operator.rs')
-rw-r--r--support/texlab/tests/test_definition_latex_math_operator.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/support/texlab/tests/test_definition_latex_math_operator.rs b/support/texlab/tests/test_definition_latex_math_operator.rs
deleted file mode 100644
index 7cea12261d..0000000000
--- a/support/texlab/tests/test_definition_latex_math_operator.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-pub mod support;
-
-use lsp_types::Range;
-use support::definition::*;
-use texlab::range::RangeExt;
-
-const SCENARIO: &str = "latex/math_operator";
-
-#[tokio::test]
-async fn link() {
- let (scenario, mut links) = run_link(SCENARIO, "foo.tex", 2, 2).await;
- assert_eq!(links.len(), 1);
- let link = links.pop().unwrap();
- verify::origin_selection_range(&link, 2, 0, 2, 4);
- assert_eq!(link.target_uri, scenario.uri("foo.tex").into());
- assert_eq!(link.target_range, Range::new_simple(0, 0, 0, 31));
- assert_eq!(link.target_selection_range, Range::new_simple(0, 0, 0, 31));
-}