-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alias test rework #1124
Alias test rework #1124
Conversation
d5ade83
to
927e87c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see any tests for aliases containing variable references. We should test that case in light of #1135
@@ -14,7 +14,7 @@ defmodule Cog.Commands.Alias.Create do | |||
-h, --help Display this usage info | |||
|
|||
EXAMPLE | |||
alias create my-awesome-alias "echo \"My awesome alias\"" | |||
alias create my-awesome-alias \"echo \"My awesome alias\"\" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think escaping those quotes are necessary here, although I think Elixir renders them just the same inside a triple quote block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually added that because my syntax highlighter was getting mucked up and it was difficult to tell what was going on. I meant to remove it. My bad.
aa53501
to
3b696d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not clear on the distinction between alias
command tests and tests targeting alias
creation (which is accomplished with the alias
command) but let's get this merged.
3b696d0
to
96ed097
Compare
Reworks
alias
command tests. This also includes work to thewhich
command tests since they are tied closely to aliases.part of #1122