Skip to content

Commit

Permalink
Merge pull request #57 from cfont/patch-1
Browse files Browse the repository at this point in the history
update for proper Texan
  • Loading branch information
jamesob committed Mar 1, 2016
2 parents 1dcdd81 + 2932bad commit 824fc4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/hello.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ hi() {
echo "hi, ${1}!"
}

# Use if you're from Texas.
alias howdy="echo howdy there"
# Use if you're from Texas.
alias howdy="echo howdy y\'all"

2 changes: 1 addition & 1 deletion test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ echo "$CURRENT" | grep 'config - Set up terraform config: <config_key>' >/dev/nu
ensure $? "Desk current terraform missing config"

RAN=$(desk run hello 'howdy james!')
echo "$RAN" | grep 'howdy there james!' >/dev/null
echo "$RAN" | grep 'howdy y'"'"'all james!' >/dev/null
ensure $? "Run in desk 'hello' didn't work with howdy alias"

RAN=$(desk run hello 'hi j')
Expand Down

0 comments on commit 824fc4b

Please sign in to comment.