mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Correct spelling (#4152)
This commit is contained in:
@ -132,7 +132,7 @@ mod tests {
|
||||
|
||||
match spec {
|
||||
NamedType::Optional(_, _) => {}
|
||||
_ => panic!("optional flag didn't parse succesfully"),
|
||||
_ => panic!("optional flag didn't parse successfully"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -901,7 +901,7 @@ fn parse_arg(
|
||||
return parse_dollar_expr(lite_arg, scope);
|
||||
}
|
||||
|
||||
// before anything else, try to see if this is a number in paranthesis
|
||||
// before anything else, try to see if this is a number in parenthesis
|
||||
if lite_arg.item.starts_with('(') {
|
||||
return parse_full_column_path(lite_arg, scope);
|
||||
}
|
||||
|
Reference in New Issue
Block a user