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"); }