summaryrefslogtreecommitdiff
path: root/support/texlab/tests/test_hover_bibtex_string_reference.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_hover_bibtex_string_reference.rs
parent195ca7e0c377d83455867bdd8e409d4e1cf024ea (diff)
CTAN sync 202005280303
Diffstat (limited to 'support/texlab/tests/test_hover_bibtex_string_reference.rs')
-rw-r--r--support/texlab/tests/test_hover_bibtex_string_reference.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/support/texlab/tests/test_hover_bibtex_string_reference.rs b/support/texlab/tests/test_hover_bibtex_string_reference.rs
deleted file mode 100644
index d67f028990..0000000000
--- a/support/texlab/tests/test_hover_bibtex_string_reference.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-pub mod support;
-
-use lsp_types::*;
-use support::hover::*;
-
-const SCENARIO: &str = "bibtex/string_reference";
-
-#[tokio::test]
-async fn valid() {
- let contents = run(SCENARIO, "foo.bib", 3, 15).await.unwrap();
- assert_eq!(
- contents,
- HoverContents::Markup(MarkupContent {
- kind: MarkupKind::PlainText,
- value: "\"foo {bar} baz\"".into(),
- })
- );
-}
-
-#[tokio::test]
-async fn invalid() {
- let contents = run(SCENARIO, "foo.bib", 3, 20).await;
- assert_eq!(contents, None);
-}