Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 14, 2024
1 parent b0e815a commit 3f0f16c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/complete/bash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mod tests {
assert_snapshot!(complete_bash("mycli", "mycli complete --usage").trim(), @r###"
_mycli() {
if ! command -v usage &> /dev/null; then
echo "Error: usage not found. This is required for completions to work in mycli." >&2
echo "Error: usage not found. This is required for completions to work in mycli. https://usage.jdx.dev" >&2
return 1
fi

Expand Down
2 changes: 1 addition & 1 deletion src/complete/fish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod tests {
assert_snapshot!(complete_fish("mycli", "mycli complete --usage").trim(), @r###"
# if "usage" is not installed show an error
if ! command -v usage &> /dev/null
echo "Error: usage not found. This is required for completions to work in mycli." >&2
echo "Error: usage not found. This is required for completions to work in mycli. https://usage.jdx.dev" >&2
return 1
end
Expand Down
2 changes: 1 addition & 1 deletion src/complete/zsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ mod tests {
local curcontext="$curcontext" spec cache_policy
if ! command -v usage &> /dev/null; then
echo "Error: usage not found. This is required for completions to work in mycli." >&2
echo "Error: usage not found. This is required for completions to work in mycli. https://usage.jdx.dev" >&2
return 1
fi
Expand Down

0 comments on commit 3f0f16c

Please sign in to comment.