Mercurial > vim
comparison src/testdir/test_nested_function.vim @ 10496:bd5bec6291cc v8.0.0141
commit https://github.com/vim/vim/commit/269aec7e615b7710139a69a4c715dfe534aa3a1a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 18:32:39 2017 +0100
patch 8.0.0141
Problem: Nested function test fails on AppVeyor.
Solution: Disable the test on Windows for now.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 02 Jan 2017 18:45:03 +0100 |
parents | 89200fa1d174 |
children | 08940efa6b4e |
comparison
equal
deleted
inserted
replaced
10495:4466bc67f772 | 10496:bd5bec6291cc |
---|---|
46 call Recurse(a:count - 1) | 46 call Recurse(a:count - 1) |
47 endif | 47 endif |
48 endfunc | 48 endfunc |
49 | 49 |
50 func Test_max_nesting() | 50 func Test_max_nesting() |
51 " TODO: why does this fail on Windows? Runs out of stack perhaps? | |
52 if has('win32') | |
53 return | |
54 endif | |
51 let call_depth_here = 2 | 55 let call_depth_here = 2 |
52 let ex_depth_here = 5 | 56 let ex_depth_here = 5 |
53 set mfd& | 57 set mfd& |
54 | 58 |
55 call Recurse(99 - call_depth_here) | 59 call Recurse(99 - call_depth_here) |