patch 8.2.3446: not enough tests for empty string arguments

Problem:    Not enough tests for empty string arguments.
Solution:   Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
This commit is contained in:
Yegappan Lakshmanan
2021-09-17 21:07:35 +02:00
committed by Bram Moolenaar
parent 542ffe16a1
commit 820d5525ca
6 changed files with 66 additions and 17 deletions

View File

@ -160,7 +160,7 @@ prop_add({lnum}, {col}, {props})
Can also be used as a |method|: >
GetLnum()->prop_add(col, props)
<
*prop_add_list()*
prop_add_list({props}, [[{lnum}, {col}, {end-lnum}, {end-col}], ...])
Similar to prop_add(), but attaches a text property at