Suggest existing variables on not found (#8902)

This commit is contained in:
sam schick
2023-05-02 11:17:14 -04:00
committed by GitHub
parent 517dc6d39e
commit d45e9671d4
8 changed files with 184 additions and 107 deletions

View File

@ -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(_, _))
));
}
}