summaryrefslogtreecommitdiffstats
path: root/tests/parse_es_requests.rs
blob: e918da9f8f5072bb6eb92c12a086deab71f9caee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

mod common;

#[test]
fn basic_load() {
    let request = common::load_request("GET_search");
    assert_eq!(request.method, "GET");
    assert_eq!(request.path_and_query, "/_search");
}

#[test]
fn basic_parse() {
    let request = common::load_request("GET_search");
    assert_eq!(request.method, "GET");
    assert_eq!(request.path_and_query, "/_search");
}