summaryrefslogtreecommitdiff
path: root/support/texlab/tests/test_completion_bibtex_word.rs
blob: 3f757047a3343b9cf8709f7a9d73bfd4d4fd3d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub mod support;

use support::completion::*;

const SCENARIO: &str = "bibtex/word";

#[tokio::test]
async fn no_text() {
    run_empty(SCENARIO, "foo.bib", 0, 0).await;
}

#[tokio::test]
async fn before_brace_entry() {
    run_empty(SCENARIO, "foo.bib", 2, 14).await;
}

#[tokio::test]
async fn before_brace_comment() {
    run_empty(SCENARIO, "foo.bib", 6, 14).await;
}