Mercurial > vim
comparison src/testdir/test_debugger.vim @ 29593:a9b2609186bf v9.0.0137
patch 9.0.0137: debugger test may fail when $CWD is very long
Commit: https://github.com/vim/vim/commit/db7a88db8b52508d3df6d5947f7c4f3ef05d5f62
Author: James McCoy <jamessan@jamessan.com>
Date: Wed Aug 3 16:13:27 2022 +0100
patch 9.0.0137: debugger test may fail when $CWD is very long
Problem: Debugger test may fail when $CWD is very long.
Solution: Skip the test if the directory name is too long. (James McCoy,
closes #10837)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Aug 2022 17:15:03 +0200 |
parents | 96ff6c230a66 |
children | 25e3121ed316 |
comparison
equal
deleted
inserted
replaced
29592:53b06cfe2835 | 29593:a9b2609186bf |
---|---|
362 call assert_fails('breakadd file Xtest.vim /\)/', 'E55:') | 362 call assert_fails('breakadd file Xtest.vim /\)/', 'E55:') |
363 endfunc | 363 endfunc |
364 | 364 |
365 " Test for expression breakpoint set using ":breakadd expr <expr>" | 365 " Test for expression breakpoint set using ":breakadd expr <expr>" |
366 func Test_Debugger_breakadd_expr() | 366 func Test_Debugger_breakadd_expr() |
367 CheckCWD | |
368 | |
367 let lines =<< trim END | 369 let lines =<< trim END |
368 let g:Xtest_var += 1 | 370 let g:Xtest_var += 1 |
369 END | 371 END |
370 call writefile(lines, 'Xtest.vim') | 372 call writefile(lines, 'Xtest.vim') |
371 | 373 |