Mercurial > vim
comparison src/testdir/test_retab.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 | 91444fa276eb |
children | 4b2616ffe32b |
comparison
equal
deleted
inserted
replaced
21764:476b6faad407 | 21765:08940efa6b4e |
---|---|
1 " Test :retab | 1 " Test :retab |
2 | |
2 func SetUp() | 3 func SetUp() |
3 new | 4 new |
4 call setline(1, "\ta \t b c ") | 5 call setline(1, "\ta \t b c ") |
5 endfunc | 6 endfunc |
6 | 7 |
73 | 74 |
74 func Test_retab_error() | 75 func Test_retab_error() |
75 call assert_fails('retab -1', 'E487:') | 76 call assert_fails('retab -1', 'E487:') |
76 call assert_fails('retab! -1', 'E487:') | 77 call assert_fails('retab! -1', 'E487:') |
77 endfunc | 78 endfunc |
79 | |
80 " vim: shiftwidth=2 sts=2 expandtab |