Lines Matching refs:key
56 … one'}], [#{text: 'one two'}, #{text: 'two one'}]->matchfuzzy('two one', #{key: 'text', matchseq: …
67 call assert_equal([{'id' : 6, 'val' : 'camera'}], matchfuzzy(l, 'cam', {'key' : 'val'}))
69 call assert_equal([], matchfuzzy(l, 'day', {'key' : 'val'}))
76 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : []})", 'E730:')
78 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : test_null_string()})", 'E475:')
82 call assert_equal(l, l->matchfuzzy('abc', #{key: 'text'}))
85 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : 'name'})", 'E730:')
137 \ matchfuzzypos(l, 'cam', {'key' : 'val'}))
139 call assert_equal([[], [], []], matchfuzzypos(l, 'day', {'key' : 'val'}))
146 call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : []})", 'E730:')
148 call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : test_null_string()})", 'E475:')
152 call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : 'name'})", 'E730:')