From 8b44358c53d9a55a60490ef6d33152079eca5fc2 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 23 May 2016 20:19:22 +0200 Subject: [PATCH] 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. --- tests/abbr.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/abbr.in b/tests/abbr.in index b4f870494..2086f66cb 100644 --- a/tests/abbr.in +++ b/tests/abbr.in @@ -30,7 +30,7 @@ abbr -e '~__abbr2' # Ensure we handle leading dashes in abbreviation names properly abbr -- '--__abbr3' 'xyz' abbr | grep __abbr3 -abbr -e '--__abbr3' +abbr -e -- '--__abbr3' # Ensure we are not recognizing later "=" as separators abbr d2 env a=b banana