'main': Do not look for metacharacters in parameter expansions.
Fixes the bug the previous commit added a test for.
This commit is contained in:
@@ -33,6 +33,6 @@ local x="()"
|
||||
BUFFER=$'$x ls'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 2 unknown-token "fixed in the next commit"' # $x
|
||||
'1 2 unknown-token' # $x
|
||||
'4 5 command' # ls
|
||||
)
|
||||
|
||||
@@ -33,6 +33,6 @@ local x="^foo^bar"
|
||||
BUFFER=$'$x ls'
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 2 unknown-token "fixed in the next commit"' # $x
|
||||
'1 2 unknown-token' # $x
|
||||
'4 5 default' # ls
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user