mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
tests: Migrate legacy test 74.
Helped-By: David Bürgin <676c7473@gmail.com> Helped-By: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:

committed by
Justin M. Keyes

parent
e53dda90bd
commit
d080375813
@@ -22,7 +22,7 @@ SCRIPTS := test_autoformat_join.out \
|
||||
test57.out test58.out test59.out \
|
||||
test61.out test62.out test63.out test64.out \
|
||||
test68.out test69.out \
|
||||
test71.out test73.out test74.out \
|
||||
test71.out test73.out \
|
||||
test79.out test80.out \
|
||||
test83.out \
|
||||
test86.out test87.out test88.out \
|
||||
|
@@ -1,36 +0,0 @@
|
||||
" Tests for storing global variables in the .viminfo file vim: set ft=vim:
|
||||
|
||||
STARTTEST
|
||||
:so small.vim
|
||||
:" Do all test in a separate window to avoid E211 when we recursively
|
||||
:" delete the Xfind directory during cleanup
|
||||
:"
|
||||
:" This will cause a few errors, do it silently.
|
||||
:set visualbell
|
||||
:set viminfo+=!
|
||||
:let MY_GLOBAL_DICT={'foo': 1, 'bar': 0, 'longvarible': 1000}
|
||||
:" store a really long list, so line wrapping will occur in viminfo file
|
||||
:let MY_GLOBAL_LIST=range(1,100)
|
||||
:wv! Xviminfo
|
||||
:unlet MY_GLOBAL_DICT
|
||||
:unlet MY_GLOBAL_LIST
|
||||
:rv! Xviminfo
|
||||
:call delete('Xviminfo')
|
||||
:if exists("MY_GLOBAL_DICT")
|
||||
:redir >> test.out
|
||||
:echo MY_GLOBAL_DICT
|
||||
:redir end
|
||||
:endif
|
||||
:if exists("MY_GLOBAL_LIST")
|
||||
:redir >> test.out
|
||||
:echo MY_GLOBAL_LIST
|
||||
:redir end
|
||||
:endif
|
||||
:redir >> test.out
|
||||
:echo "foobar"
|
||||
:redir end
|
||||
:endif
|
||||
:qa!
|
||||
ENDTEST
|
||||
|
||||
eof
|
@@ -1,5 +0,0 @@
|
||||
|
||||
{'foo': 1, 'longvarible': 1000, 'bar': 0}
|
||||
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
|
||||
|
||||
foobar
|
Reference in New Issue
Block a user