Skip to content

Commit e6c1c4c

Browse files
committed
add more test for -> operator
1 parent 14221a4 commit e6c1c4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_method.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ echo 'alice'->s:hello('bob')
33
echo [1,2,3]->map({i,n -> n * 2})
44
echo 'john'->{s -> 'hello ' .. s }()
55
echo 'john'->{s,b -> 'hello ' .. s .. ' ... and goodbye ' .. b .. '!' }('bob')
6+
echo 'john'->{... -> 'hello ' .. a:000->join(', ') }('bob')

0 commit comments

Comments
 (0)