Permalink
Browse files

Make alias spec test less sensitive to commands on $PATH.

Addresses issue #22.
  • Loading branch information...
Andy Chu
Andy Chu committed Jun 26, 2018
1 parent 916d440 commit 68bfa35fb25c8c843407e85aa4114f30761c2f74
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/alias.test.sh
View
@@ -111,11 +111,11 @@ e X
### Alias detection happens before expansion
shopt -s expand_aliases # bash requires this
alias e='echo'
cmd=e
e X
alias echo_alias_='echo'
cmd=echo_alias_
echo_alias_ X
$cmd X
e status=$?
echo_alias_ status=$?
## STDOUT:
X
status=127

0 comments on commit 68bfa35

Please sign in to comment.