aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/json_functions_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-03-07 06:41:00 +0300
committerZyX <kp-pav@yandex.ru>2016-04-18 02:48:20 +0300
commit4a29995fe74ed95c641ef40c68d8a4223e90cccf (patch)
tree7335ee8b49f9662e086371c550017d7dbd119f10 /test/functional/eval/json_functions_spec.lua
parent1fc84ae2cd07f10f769ef966dd92b18ca8552748 (diff)
downloadrneovim-4a29995fe74ed95c641ef40c68d8a4223e90cccf.tar.gz
rneovim-4a29995fe74ed95c641ef40c68d8a4223e90cccf.tar.bz2
rneovim-4a29995fe74ed95c641ef40c68d8a4223e90cccf.zip
eval/decode: Rename brackets in error messages
U+007D is officially RIGHT CURLY BRACKET. U+005D is officially RIGHT SQUARE BRACKET.
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
-rw-r--r--test/functional/eval/json_functions_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/eval/json_functions_spec.lua b/test/functional/eval/json_functions_spec.lua
index d6286611d2..131b177622 100644
--- a/test/functional/eval/json_functions_spec.lua
+++ b/test/functional/eval/json_functions_spec.lua
@@ -198,9 +198,9 @@ describe('json_decode() function', function()
it('fails to parse containers which are closed by different brackets',
function()
- eq('Vim(call):E474: Closing dictionary with bracket: ]',
+ eq('Vim(call):E474: Closing dictionary with square bracket: ]',
exc_exec('call json_decode("{]")'))
- eq('Vim(call):E474: Closing list with figure brace: }',
+ eq('Vim(call):E474: Closing list with curly bracket: }',
exc_exec('call json_decode("[}")'))
end)