From 534fd1a59e1fc956cc15f1bdad3dc008872ed184 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 15 May 2015 17:10:29 -0700 Subject: Pass the character index, not the character, to parse_util_expand_variable_error Fixes #2067 --- tests/expansion.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/expansion.in') diff --git a/tests/expansion.in b/tests/expansion.in index b43fd3bf..2b6d9376 100644 --- a/tests/expansion.in +++ b/tests/expansion.in @@ -81,6 +81,10 @@ echo $foo[d] echo ()[1] echo ()[d] +echo "Catch your breath" +set paren ')' +echo $$paren + # Test tilde expansion # On OS X, /tmp is symlinked to /private/tmp # $PWD is our best bet for resolving it -- cgit v1.2.3