mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Improve $in
handling (#5137)
* Simplify in logic * Add tests * more tests, and fixes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user