aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/100_undo_level_spec.lua
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2015-12-17 17:56:16 +0900
committerwatiko <service@mail.watiko.net>2016-01-10 10:44:57 +0900
commitd37dc0b3142c7f4795a28c44d6ebb85b8c961c0c (patch)
treefaa76a7e82644324eaea48fee3a3b5805136ae98 /test/functional/legacy/100_undo_level_spec.lua
parent9c5ab23ef2e0adf45b09d9f0586e5c914db9658f (diff)
downloadrneovim-d37dc0b3142c7f4795a28c44d6ebb85b8c961c0c.tar.gz
rneovim-d37dc0b3142c7f4795a28c44d6ebb85b8c961c0c.tar.bz2
rneovim-d37dc0b3142c7f4795a28c44d6ebb85b8c961c0c.zip
tests: Rename 100_undo_level to 100_lispwords.
Diffstat (limited to 'test/functional/legacy/100_undo_level_spec.lua')
-rw-r--r--test/functional/legacy/100_undo_level_spec.lua47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/functional/legacy/100_undo_level_spec.lua b/test/functional/legacy/100_undo_level_spec.lua
deleted file mode 100644
index ba2d485280..0000000000
--- a/test/functional/legacy/100_undo_level_spec.lua
+++ /dev/null
@@ -1,47 +0,0 @@
--- Tests for 'lispwords' setting being global-local
-
-local helpers = require('test.functional.helpers')
-local source = helpers.source
-local clear, expect = helpers.clear, helpers.expect
-
-describe('undolevel', function()
- setup(clear)
-
- it('is working', function()
- source([[
- setglobal lispwords=foo,bar,baz
- setlocal lispwords-=foo
- setlocal lispwords+=quux
- redir @A
- echo "Testing 'lispwords' local value"
- setglobal lispwords?
- setlocal lispwords?
- echo &lispwords
- echo ''
- redir end
- setlocal lispwords<
- redir @A
- echo "Testing 'lispwords' value reset"
- setglobal lispwords?
- setlocal lispwords?
- echo &lispwords
- redir end
-
- 0put a
- $d
- ]])
-
- -- Assert buffer contents.
- expect([[
-
- Testing 'lispwords' local value
- lispwords=foo,bar,baz
- lispwords=bar,baz,quux
- bar,baz,quux
-
- Testing 'lispwords' value reset
- lispwords=foo,bar,baz
- lispwords=foo,bar,baz
- foo,bar,baz]])
- end)
-end)