Mercurial > vim
comparison src/testdir/test_quickfix.vim @ 19407:2f4be7ca1b1b v8.2.0261
patch 8.2.0261: some code not covered by tests
Commit: https://github.com/vim/vim/commit/f0cee1971f5258ce61f8a4e6a04d35c1e625bb01
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 13:33:56 2020 +0100
patch 8.2.0261: 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/5645)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Feb 2020 13:45:04 +0100 |
parents | 02111977dd05 |
children | 8f8a5a15d00a |
comparison
equal
deleted
inserted
replaced
19406:9f499efdf2aa | 19407:2f4be7ca1b1b |
---|---|
536 \ 'Xqftestfile2:11:Line11'] | 536 \ 'Xqftestfile2:11:Line11'] |
537 Xopen | 537 Xopen |
538 10Xcc | 538 10Xcc |
539 call assert_equal(11, line('.')) | 539 call assert_equal(11, line('.')) |
540 call assert_equal('Xqftestfile2', bufname('%')) | 540 call assert_equal('Xqftestfile2', bufname('%')) |
541 Xopen | |
542 call cursor(2, 1) | |
543 if a:cchar == 'c' | |
544 .cc | |
545 else | |
546 .ll | |
547 endif | |
548 call assert_equal(6, line('.')) | |
549 call assert_equal('Xqftestfile1', bufname('%')) | |
541 | 550 |
542 " Jumping to an error from the error window (when only the error window is | 551 " Jumping to an error from the error window (when only the error window is |
543 " present) | 552 " present) |
544 Xopen | only | 553 Xopen | only |
545 Xlast 1 | 554 Xlast 1 |