Bring abbr test in line with new behavior

Previously, `--erase` would not accept any options and wouldn't read
"--" as option-separator. Now it does like every other "command", and it
could conceivably gain e.g. a "--prefix" option.
This commit is contained in:
Fabian Homborg 2016-05-23 20:19:22 +02:00
parent dac8483f7e
commit 8b44358c53

View file

@ -30,7 +30,7 @@ abbr -e '~__abbr2'
# Ensure we handle leading dashes in abbreviation names properly # Ensure we handle leading dashes in abbreviation names properly
abbr -- '--__abbr3' 'xyz' abbr -- '--__abbr3' 'xyz'
abbr | grep __abbr3 abbr | grep __abbr3
abbr -e '--__abbr3' abbr -e -- '--__abbr3'
# Ensure we are not recognizing later "=" as separators # Ensure we are not recognizing later "=" as separators
abbr d2 env a=b banana abbr d2 env a=b banana