comparison src/testdir/test_buffer.vim @ 19425:67fbe280a502 v8.2.0270

patch 8.2.0270: some code not covered by tests Commit: https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 17 21:33:30 2020 +0100 patch 8.2.0270: some code not covered by tests Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5649)
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Feb 2020 21:45:04 +0100
parents 2f4be7ca1b1b
children a653d1a165ef
comparison
equal deleted inserted replaced
19424:38c3f2b16596 19425:67fbe280a502
101 call assert_equal(2, line('.')) 101 call assert_equal(2, line('.'))
102 exe 'buffer +/bar1' 102 exe 'buffer +/bar1'
103 call assert_equal(b2, bufnr()) 103 call assert_equal(b2, bufnr())
104 call assert_equal(1, line('.')) 104 call assert_equal(1, line('.'))
105 105
106 brewind +/foo3 106 brewind +
107 call assert_equal(b1, bufnr()) 107 call assert_equal(b1, bufnr())
108 call assert_equal(3, line('.')) 108 call assert_equal(4, line('.'))
109 109
110 blast +/baz2 110 blast +/baz2
111 call assert_equal(b3, bufnr()) 111 call assert_equal(b3, bufnr())
112 call assert_equal(2, line('.')) 112 call assert_equal(2, line('.'))
113 113