aboutsummaryrefslogtreecommitdiff
path: root/src/testdir/test55.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test55.in')
-rw-r--r--src/testdir/test55.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test55.in b/src/testdir/test55.in
index 4b20de403f..85a8063774 100644
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -323,13 +323,15 @@ let l = [0, 1, 2, 3]
: $put ='caught ' . v:exception
:endtry
:"
-:" reverse() and sort()
-:let l = ['-0', 'A11', 2, 'xaaa', 4, 'foo', 'foo6', [0, 1, 2], 'x8']
+:" reverse(), sort(), uniq()
+:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 1, 2], 'x8', [0, 1, 2], 1.5]
+:$put =string(uniq(copy(l)))
:$put =string(reverse(l))
:$put =string(reverse(reverse(l)))
:$put =string(sort(l))
:$put =string(reverse(sort(l)))
:$put =string(sort(reverse(sort(l))))
+:$put =string(uniq(sort(l)))
:"
:" splitting a string to a List
:$put =string(split(' aa bb '))