We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3900be5 commit d3681bcCopy full SHA for d3681bc
tests/integration_test.rs
@@ -31,9 +31,9 @@ fn search_returns_nothing_for_no_results() {
31
#[rstest]
32
fn search_returns_matching_js_function_line_with_one_thread() {
33
let file_path = common::get_default_fixture_for_file_type_string("js").unwrap();
34
- let query = String::from("thisFunctionDoesNotExist");
+ let query = String::from("parseQuery");
35
+ let expected = vec![common::get_expected_search_result_for_file_type("js")];
36
let file_type_string = String::from("js");
- let expected: Vec<SearchResult> = vec![];
37
let mut args = common::make_args(query, Some(file_path), Some(file_type_string));
38
args.threads = Some(NonZero::new(1).unwrap());
39
assert_eq!(expected, common::do_search(args));
0 commit comments