From 745892fbddea56040139108277e728b53fd8fc11 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 28 May 2020 03:03:21 +0000 Subject: CTAN sync 202005280303 --- support/texlab/tests/test_hover_bibtex_type.rs | 28 -------------------------- 1 file changed, 28 deletions(-) delete mode 100644 support/texlab/tests/test_hover_bibtex_type.rs (limited to 'support/texlab/tests/test_hover_bibtex_type.rs') diff --git a/support/texlab/tests/test_hover_bibtex_type.rs b/support/texlab/tests/test_hover_bibtex_type.rs deleted file mode 100644 index 23db7084d5..0000000000 --- a/support/texlab/tests/test_hover_bibtex_type.rs +++ /dev/null @@ -1,28 +0,0 @@ -pub mod support; - -use lsp_types::*; -use support::hover::*; -use texlab::syntax::LANGUAGE_DATA; - -const SCENARIO: &str = "bibtex/type"; - -#[tokio::test] -async fn known() { - let contents = run(SCENARIO, "foo.bib", 0, 5).await.unwrap(); - assert_eq!( - contents, - HoverContents::Markup(MarkupContent { - kind: MarkupKind::Markdown, - value: LANGUAGE_DATA - .entry_type_documentation("article") - .unwrap() - .to_owned() - }) - ); -} - -#[tokio::test] -async fn unknown() { - let contents = run(SCENARIO, "foo.bib", 2, 2).await; - assert_eq!(contents, None); -} -- cgit v1.2.3