Improve $in handling (#5137)

* Simplify in logic

* Add tests

* more tests, and fixes
This commit is contained in:
JT
2022-04-09 09:41:05 +12:00
committed by GitHub
parent 0892a16a3d
commit 97eb8492a3
5 changed files with 57 additions and 11 deletions

View File

@ -19,7 +19,7 @@ fn quickcheck_parse(data: String) -> bool {
let mut working_set = StateWorkingSet::new(&context);
working_set.add_file("quickcheck".into(), data.as_bytes());
let _ = nu_parser::parse_block(&mut working_set, &lite_block, false, &[]);
let _ = nu_parser::parse_block(&mut working_set, &lite_block, false, &[], false);
}
}
true