From 79198759b3121b5f69beb81fbffe264a19420105 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 25 Sep 2016 18:08:36 +0000 Subject: [PATCH] tests: Also test arguments to an anonymous function. --- highlighters/main/test-data/anonymous-function.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/highlighters/main/test-data/anonymous-function.zsh b/highlighters/main/test-data/anonymous-function.zsh index a6fbcf0..5b8e0b6 100644 --- a/highlighters/main/test-data/anonymous-function.zsh +++ b/highlighters/main/test-data/anonymous-function.zsh @@ -27,7 +27,7 @@ # vim: ft=zsh sw=2 ts=2 et # ------------------------------------------------------------------------------------------------- -BUFFER='() echo hello; () { echo world }' +BUFFER='() echo hello; () { echo world } "argument"' expected_region_highlight=( "1 2 reserved-word" # () @@ -37,4 +37,5 @@ expected_region_highlight=( "16 17 reserved-word" # () "19 19 reserved-word" # { "21 24 builtin" # echo + "34 43 double-quoted-argument" # "argument" )