mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:45:08 +02:00
Remove old alias implementation (#8797)
This commit is contained in:
@ -5,8 +5,6 @@ use quickcheck_macros::quickcheck;
|
||||
mod commands;
|
||||
mod format_conversions;
|
||||
|
||||
// use nu_engine::EvaluationContext;
|
||||
|
||||
#[quickcheck]
|
||||
fn quickcheck_parse(data: String) -> bool {
|
||||
let (tokens, err) = nu_parser::lex(data.as_bytes(), 0, b"", b"", true);
|
||||
@ -17,7 +15,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, &tokens, false, &[], false);
|
||||
let _ = nu_parser::parse_block(&mut working_set, &tokens, false, false);
|
||||
}
|
||||
}
|
||||
true
|
||||
|
Reference in New Issue
Block a user