mirror of
https://github.com/casey/just.git
synced 2025-12-23 11:37:29 +00:00
Revise
This commit is contained in:
parent
a4580e2541
commit
4efeeb216a
2 changed files with 2 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ impl Display for CompileError<'_> {
|
|||
"Non-default parameter `{parameter}` follows default parameter"
|
||||
),
|
||||
UndefinedArgAttribute { argument } => {
|
||||
write!(f, "Argument attribute for unknown argument `{argument}`")
|
||||
write!(f, "Argument attribute for undefined argument `{argument}`")
|
||||
}
|
||||
UndefinedVariable { variable } => write!(f, "Variable `{variable}` not defined"),
|
||||
UnexpectedCharacter { expected } => {
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ fn unknown_argument_error() {
|
|||
.arg("foo")
|
||||
.stderr(
|
||||
"
|
||||
error: Argument attribute for unknown argument `bar`
|
||||
error: Argument attribute for undefined argument `bar`
|
||||
——▶ justfile:1:6
|
||||
│
|
||||
1 │ [arg('bar', pattern='BAR')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue