diff options
Diffstat (limited to 'src/testdir/test_indent.vim')
-rw-r--r-- | src/testdir/test_indent.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testdir/test_indent.vim b/src/testdir/test_indent.vim index 217a7ae625..a7e9f425c9 100644 --- a/src/testdir/test_indent.vim +++ b/src/testdir/test_indent.vim @@ -286,4 +286,18 @@ func Test_indent_overflow_count() close! endfunc +func Test_indent_overflow_count2() + new + " this only works, when long is 64bits + try + setl sw=0x180000000 + catch /^Vim\%((\a\+)\)\=:E487:/ + throw 'Skipped: value negative on this platform' + endtry + call setline(1, "\tabc") + norm! << + call assert_equal(0, indent(1)) + close! +endfunc + " vim: shiftwidth=2 sts=2 expandtab |