aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_nested_function.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_nested_function.vim')
-rw-r--r--test/old/testdir/test_nested_function.vim11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/old/testdir/test_nested_function.vim b/test/old/testdir/test_nested_function.vim
index afaaea6ceb..5599655461 100644
--- a/test/old/testdir/test_nested_function.vim
+++ b/test/old/testdir/test_nested_function.vim
@@ -1,5 +1,7 @@
-"Tests for nested functions
-"
+" Tests for nested functions
+
+source check.vim
+
func NestedFunc()
func! Func1()
let g:text .= 'Func1 '
@@ -48,6 +50,9 @@ func Recurse(count)
endfunc
func Test_max_nesting()
+ " TODO: why does this fail on Windows? Runs out of stack perhaps?
+ CheckNotMSWindows
+
let call_depth_here = 2
let ex_depth_here = 5
set mfd&
@@ -61,3 +66,5 @@ func Test_max_nesting()
set mfd&
endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab