aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-20 13:27:23 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-20 13:27:28 -0300
commit03dd2114a78f513c362ccc5ec4de700f11a2db0e (patch)
treec01f78ba13203bcbbaaf5c87f9b2dd891a192719 /src
parent2f04fd4e722e02a340af9676a78d165cc9a1069f (diff)
parent20054df06eb3050f16cd2cee5b3df68849311726 (diff)
downloadrneovim-03dd2114a78f513c362ccc5ec4de700f11a2db0e.tar.gz
rneovim-03dd2114a78f513c362ccc5ec4de700f11a2db0e.tar.bz2
rneovim-03dd2114a78f513c362ccc5ec4de700f11a2db0e.zip
Merge PR #1993 'legacy test: migrate test 72'
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test72.in69
-rw-r--r--src/nvim/testdir/test72.ok19
2 files changed, 0 insertions, 88 deletions
diff --git a/src/nvim/testdir/test72.in b/src/nvim/testdir/test72.in
deleted file mode 100644
index 912fa19ba6..0000000000
--- a/src/nvim/testdir/test72.in
+++ /dev/null
@@ -1,69 +0,0 @@
-Tests for undo file.
-Since this script is sourced we need to explicitly break changes up in
-undo-able pieces. Do that by setting 'undolevels'.
-
-STARTTEST
-:so small.vim
-:"
-:" Test 'undofile': first a simple one-line change.
-:set visualbell
-:set ul=100 undofile nomore
-:e! Xtestfile
-ggdGithis is one line:set ul=100
-:s/one/ONE/
-:set ul=100
-:w
-:bwipe!
-:e Xtestfile
-u:.w! test.out
-:"
-:" Test 'undofile', change in original file fails check
-:set noundofile
-:e! Xtestfile
-:s/line/Line/
-:w
-:set undofile
-:bwipe!
-:e Xtestfile
-:" TODO: this beeps
-u:.w >>test.out
-:"
-:" Test 'undofile', add 10 lines, delete 6 lines, undo 3
-:set undofile
-ggdGione
-two
-three
-four
-five
-six
-seven
-eight
-nine
-ten:set ul=100
-3Gdd:set ul=100
-dd:set ul=100
-dd:set ul=100
-dd:set ul=100
-dd:set ul=100
-dd:set ul=100
-:w
-:bwipe!
-:e Xtestfile
-uuu:w >>test.out
-:"
-:" Test that reading the undofiles when setting undofile works
-:set noundofile ul=0
-i
-u:e! Xtestfile
-:set undofile ul=100
-uuuuuu:w >>test.out
-:"
-:" Rename the undo file so that it gets cleaned up.
-:call rename(".Xtestfile.un~", "Xtestundo")
-:qa!
-ENDTEST
-
-1111 -----
-2222 -----
-
-123456789
diff --git a/src/nvim/testdir/test72.ok b/src/nvim/testdir/test72.ok
deleted file mode 100644
index 091b1e94a6..0000000000
--- a/src/nvim/testdir/test72.ok
+++ /dev/null
@@ -1,19 +0,0 @@
-this is one line
-this is ONE Line
-one
-two
-six
-seven
-eight
-nine
-ten
-one
-two
-three
-four
-five
-six
-seven
-eight
-nine
-ten