spec: document field only

This commit is contained in:
zztrieuzz 2021-10-26 12:57:21 +07:00
parent 6842738534
commit dffcd00ef4

View File

@ -23,8 +23,10 @@ function helpers.insert(text, is_replace)
helpers.feed('i' .. text, 'x',is_replace) helpers.feed('i' .. text, 'x',is_replace)
end end
-- use only = true to test 1 case
local data = { local data = {
{ {
-- only = true,
name = "add normal bracket" , name = "add normal bracket" ,
key = [[{]], key = [[{]],
before = [[x| ]], before = [[x| ]],
@ -78,7 +80,6 @@ local data = {
after = [[aa'| aa ]] after = [[aa'| aa ]]
}, },
{ {
-- only = true,
name = "don't add single quote with alphabet char" , name = "don't add single quote with alphabet char" ,
key = [[']], key = [[']],
before = [[a|x ]], before = [[a|x ]],