summaryrefslogtreecommitdiff
path: root/support/texlab/tests/test_completion_latex_theorem.rs
blob: 25cb419c8456737b074b238cde764e3ef8ebc276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pub mod support;

use support::completion::*;

const SCENARIO: &str = "latex/theorem";

#[tokio::test]
async fn newtheorem() {
    let item = run_item(SCENARIO, "foo.tex", 4, 7, "foo").await;
    verify::text_edit(&item, 4, 7, 4, 8, "foo");
    verify::detail(&item, "user-defined");
}