Mercurial > vim
comparison src/testdir/test_cmdwin.vim @ 30312:84ab2b07d5f8 v9.0.0492
patch 9.0.0492: cmdwin test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/312af65d1ac763c060cb5adfcf8ae5beeec97f59
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 21:20:42 2022 +0100
patch 9.0.0492: cmdwin test fails on MS-Windows
Problem: Cmdwin test fails on MS-Windows.
Solution: Skip test on MS-Windows.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 22:30:03 +0200 |
parents | 6b541aaaf39e |
children | 8496a2c45962 |
comparison
equal
deleted
inserted
replaced
30311:508bafa1aff0 | 30312:84ab2b07d5f8 |
---|---|
378 call assert_equal('" bar', @:) | 378 call assert_equal('" bar', @:) |
379 endfunc | 379 endfunc |
380 | 380 |
381 " This was using a pointer to a freed buffer | 381 " This was using a pointer to a freed buffer |
382 func Test_cmdwin_freed_buffer_ptr() | 382 func Test_cmdwin_freed_buffer_ptr() |
383 " this does not work on MS-Windows because renaming an open file fails | |
384 CheckNotMSWindows | |
385 | |
383 au BufEnter * next 0| file | 386 au BufEnter * next 0| file |
384 edit 0 | 387 edit 0 |
385 silent! norm q/ | 388 silent! norm q/ |
386 | 389 |
387 au! BufEnter | 390 au! BufEnter |