Mercurial > vim
comparison src/testdir/test_terminal3.vim @ 21765:08940efa6b4e v8.2.1432
patch 8.2.1432: various inconsistencies in test files
Commit: https://github.com/vim/vim/commit/6d91bcb4d23b5c6a0be72c384beaf385e2d9d606
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 12 18:50:36 2020 +0200
patch 8.2.1432: various inconsistencies in test files
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Aug 2020 19:00:08 +0200 |
parents | 8c6433359913 |
children | e0af4660dfc7 |
comparison
equal
deleted
inserted
replaced
21764:476b6faad407 | 21765:08940efa6b4e |
---|---|
55 | 55 |
56 " This should execute the dir builtin command even with ".com". | 56 " This should execute the dir builtin command even with ".com". |
57 term ++shell dir.com /b runtest.vim | 57 term ++shell dir.com /b runtest.vim |
58 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))}) | 58 call WaitForAssert({-> assert_match('runtest.vim', term_getline(bufnr(), 1))}) |
59 bwipe! | 59 bwipe! |
60 else | |
61 throw 'Skipped: does not work on this platform' | |
60 endif | 62 endif |
61 endfunc | 63 endfunc |
62 | 64 |
63 func Test_terminal_invalid_arg() | 65 func Test_terminal_invalid_arg() |
64 call assert_fails('terminal ++xyz', 'E181:') | 66 call assert_fails('terminal ++xyz', 'E181:') |