Mercurial > vim
comparison src/testdir/test_startup.vim @ 16965:ba7727889385 v8.1.1483
patch 8.1.1483: skipped tests are not properly listed
commit https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 6 16:12:12 2019 +0200
patch 8.1.1483: skipped tests are not properly listed
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Jun 2019 16:15:05 +0200 |
parents | b1b7c7a31679 |
children | 40c4cb095d53 |
comparison
equal
deleted
inserted
replaced
16964:45ff4207d530 | 16965:ba7727889385 |
---|---|
657 call assert_equal('hello', out) | 657 call assert_equal('hello', out) |
658 endfunc | 658 endfunc |
659 | 659 |
660 func Test_start_with_tabs() | 660 func Test_start_with_tabs() |
661 if !CanRunVimInTerminal() | 661 if !CanRunVimInTerminal() |
662 return | 662 throw 'Skipped: cannot make screendumps' |
663 endif | 663 endif |
664 | 664 |
665 let buf = RunVimInTerminal('-p a b c', {}) | 665 let buf = RunVimInTerminal('-p a b c', {}) |
666 call VerifyScreenDump(buf, 'Test_start_with_tabs', {}) | 666 call VerifyScreenDump(buf, 'Test_start_with_tabs', {}) |
667 | 667 |