aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-10-23 14:22:01 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-10-23 14:22:01 -0400
commitb8401550a739b6007c0e6fe3ace583dde3001379 (patch)
tree73ad5218124a749527a94f4f1a9331bf86909994 /src/nvim/testdir
parentd11fd1950fc6425da72185ee67278496db987eae (diff)
parent089f977d18c591a0b363dc98bb2215210fb2860b (diff)
downloadrneovim-b8401550a739b6007c0e6fe3ace583dde3001379.tar.gz
rneovim-b8401550a739b6007c0e6fe3ace583dde3001379.tar.bz2
rneovim-b8401550a739b6007c0e6fe3ace583dde3001379.zip
Merge pull request #1330 from splinterofchaos/na-patches
N/A patches
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test100.in3
-rw-r--r--src/nvim/testdir/test72.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test100.in b/src/nvim/testdir/test100.in
index f9f5f9119f..f6d2e3711b 100644
--- a/src/nvim/testdir/test100.in
+++ b/src/nvim/testdir/test100.in
@@ -18,6 +18,7 @@ STARTTEST
:call FillBuffer()
:call feedkeys(":earlier 10\n", 't')
:call UndoLevel()
+:set ft=unix
:%w! test.out
:new two
:0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards)'
@@ -27,6 +28,7 @@ STARTTEST
:call UndoLevel()
:setlocal ul=10
:call UndoLevel()
+:set ft=unix
:%w >> test.out
:wincmd p
:redir >>test.out | echo "global value shouldn't be changed and still be 5!" | echo 'ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'|:setglobal undolevels? | echon ' global' | setlocal undolevels? | echon ' local' |echo "" |redir end
@@ -35,6 +37,7 @@ STARTTEST
:1put ='global value should be changed to 50'
:2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (default)'
:call UndoLevel()
+:set ft=unix
:%w >> test.out
:"sleep 10
:"
diff --git a/src/nvim/testdir/test72.in b/src/nvim/testdir/test72.in
index 0821764c3c..4700d86981 100644
--- a/src/nvim/testdir/test72.in
+++ b/src/nvim/testdir/test72.in
@@ -8,6 +8,7 @@ STARTTEST
:" Test 'undofile': first a simple one-line change.
:set nocompatible viminfo+=nviminfo visualbell
:set ul=100 undofile nomore
+:set ft=unix
:e! Xtestfile
ggdGithis is one line:set ul=100
:s/one/ONE/