aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/abbr.err1
-rw-r--r--tests/abbr.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/abbr.err b/tests/abbr.err
index 904a0fd4..13fdfd74 100644
--- a/tests/abbr.err
+++ b/tests/abbr.err
@@ -1 +1,2 @@
abbr: no such abbreviation 'NOT_AN_ABBR'
+abbr: abbreviation cannot have spaces in the key
diff --git a/tests/abbr.in b/tests/abbr.in
index be828b08..b4f87049 100644
--- a/tests/abbr.in
+++ b/tests/abbr.in
@@ -35,3 +35,5 @@ abbr -e '--__abbr3'
# Ensure we are not recognizing later "=" as separators
abbr d2 env a=b banana
abbr -l | string match -q d2; or echo "= test failed"
+
+abbr "a b c" "d e f"; or true