We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cdfc8d commit d071c0eCopy full SHA for d071c0e
tests/plenary/org/fold_spec.lua
@@ -0,0 +1,17 @@
1
+local helpers = require('tests.plenary.helpers')
2
+
3
+describe('folding', function()
4
+ it('works', function()
5
+ helpers.create_file({
6
+ '* First',
7
+ '** Second',
8
+ '*** Third',
9
+ '**** Fourth',
10
+ '***** Fifth',
11
+ 'text',
12
+ })
13
+ vim.cmd.normal({ 'GzM', bang = true })
14
+ local foldlevel = vim.fn.foldlevel(6)
15
+ assert.are.same(5, foldlevel)
16
+ end)
17
+end)
0 commit comments