mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Suggest existing variables on not found (#8902)
This commit is contained in:
@ -1955,7 +1955,7 @@ mod input_types {
|
||||
|
||||
assert!(matches!(
|
||||
working_set.parse_errors.first(),
|
||||
Some(ParseError::VariableNotFound(_))
|
||||
Some(ParseError::VariableNotFound(_, _))
|
||||
));
|
||||
}
|
||||
|
||||
@ -1974,7 +1974,7 @@ mod input_types {
|
||||
|
||||
assert!(matches!(
|
||||
working_set.parse_errors.first(),
|
||||
Some(ParseError::VariableNotFound(_))
|
||||
Some(ParseError::VariableNotFound(_, _))
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user