Mercurial > vim
comparison src/testdir/test_functions.vim @ 11197:7f355d8cd634 v8.0.0485
patch 8.0.0485: not all windows commands are tested
commit https://github.com/vim/vim/commit/4520d440c59034452d1450b27fcd56825c090687
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 19 16:09:46 2017 +0100
patch 8.0.0485: not all windows commands are tested
Problem: Not all windows commands are tested.
Solution: Add more tests for windows commands. (Dominique Pelle,
closes #1575) Run test_autocmd separately, it interferes with
other tests. Fix tests that depended on side effects.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Mar 2017 16:15:04 +0100 |
parents | 445fd6be2009 |
children | 77f3b7316d8b |
comparison
equal
deleted
inserted
replaced
11196:38c23a67011d | 11197:7f355d8cd634 |
---|---|
458 let bd = getbufvar(bnr, '') | 458 let bd = getbufvar(bnr, '') |
459 call assert_equal(1, len(bd)) | 459 call assert_equal(1, len(bd)) |
460 let bd = getbufvar(bnr, '',def_num) | 460 let bd = getbufvar(bnr, '',def_num) |
461 call assert_equal(1, len(bd)) | 461 call assert_equal(1, len(bd)) |
462 | 462 |
463 call assert_equal('', getbufvar(9, '')) | 463 call assert_equal('', getbufvar(9999, '')) |
464 call assert_equal(def_num, getbufvar(9, '', def_num)) | 464 call assert_equal(def_num, getbufvar(9999, '', def_num)) |
465 unlet def_num | 465 unlet def_num |
466 | 466 |
467 call assert_equal(0, getbufvar(bnr, '&autoindent')) | 467 call assert_equal(0, getbufvar(bnr, '&autoindent')) |
468 call assert_equal(0, getbufvar(bnr, '&autoindent', 1)) | 468 call assert_equal(0, getbufvar(bnr, '&autoindent', 1)) |
469 | 469 |