diff options
author | Norbert Preining <norbert@preining.info> | 2020-05-28 03:03:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-05-28 03:03:21 +0000 |
commit | 745892fbddea56040139108277e728b53fd8fc11 (patch) | |
tree | 15e55e299b38fccdabce8364f1fbf4f02ef37994 /support/texlab/tests/test_completion_bibtex_type.rs | |
parent | 195ca7e0c377d83455867bdd8e409d4e1cf024ea (diff) |
CTAN sync 202005280303
Diffstat (limited to 'support/texlab/tests/test_completion_bibtex_type.rs')
-rw-r--r-- | support/texlab/tests/test_completion_bibtex_type.rs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/support/texlab/tests/test_completion_bibtex_type.rs b/support/texlab/tests/test_completion_bibtex_type.rs deleted file mode 100644 index 5d56e3c178..0000000000 --- a/support/texlab/tests/test_completion_bibtex_type.rs +++ /dev/null @@ -1,26 +0,0 @@ -pub mod support; - -use support::completion::*; - -const SCENARIO: &str = "bibtex/type"; - -#[tokio::test] -async fn empty_type() { - let item = run_item(SCENARIO, "foo.bib", 0, 1, "article").await; - assert!(item.documentation.is_some()); - verify::text_edit(&item, 0, 1, 0, 1, "article"); -} - -#[tokio::test] -async fn incomplete_type() { - let item = run_item(SCENARIO, "foo.bib", 1, 2, "article").await; - assert!(item.documentation.is_some()); - verify::text_edit(&item, 1, 1, 1, 4, "article"); -} - -#[tokio::test] -async fn complete_type() { - let item = run_item(SCENARIO, "foo.bib", 2, 8, "article").await; - assert!(item.documentation.is_some()); - verify::text_edit(&item, 2, 1, 2, 8, "article"); -} |