Lines Matching refs:one
42 let d = #{one: 1, two: 2, three: 3}
49 call assert_equal(#{one: 1, two: 2, three: 3, four: 4}, d->extend(#{four: 4}))
50 call assert_equal(#{one: 1, two: 2, three: 3}, d->filter('v:val != 4'))
55 call assert_equal([['one', 1], ['two', 2], ['three', 3]], d->items())
57 call assert_equal(['one', 'two', 'three'], d->keys())
59 call assert_equal(#{one: 2, two: 3, three: 4}, d->map('v:val + 1'))
60 call assert_equal(#{one: 1, two: 2, three: 3}, d->map('v:val - 1'))
68 call assert_equal("{'one': 1, 'two': 2, 'three': 3}", d->string())
88 eval ['one', 'two', 'three']->append(1)
89 call assert_equal(['', 'one', 'two', 'three'], getline(1, '$'))
94 eval ['one', 'two', 'three']->appendbufline(bnr, 1)
95 call assert_equal(['', 'one', 'two', 'three'], getbufline(bnr, 1, '$'))
101 func Concat(one, two, three) argument
102 return a:one .. a:two .. a:three
113 eval 'one'->Partial('three')->assert_equal('onetwothree')
116 call assert_fails("eval 'one'->Partial()", 'E119:')
118 call assert_fails("eval 'one'->Partial('three', 'four')", 'E118:')